Skip to content

Commit b06dc92

Browse files
authored
replace old diagrams with new ones from design (supabase#21170)
* swap out old diagrams for new ones * swap out images in readmes * fix docker guide image * test readme image display
1 parent 4dac01e commit b06dc92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+591
-54
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ To see how to Contribute, visit [Getting Started](./DEVELOPERS.md)
3939
- [Email Support](https://supabase.com/docs/support#business-support). Best for: problems with your database or infrastructure.
4040
- [Discord](https://discord.supabase.com). Best for: sharing your applications and hanging out with the community.
4141

42-
4342
## How it works
4443

4544
Supabase is a combination of open source tools. We’re building the features of Firebase using enterprise-grade, open source products. If the tools and communities exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool. If the tool doesn't exist, we build and open source it ourselves. Supabase is not a 1-to-1 mapping of Firebase. Our aim is to give developers a Firebase-like developer experience using open source tools.
@@ -49,7 +48,7 @@ Supabase is a combination of open source tools. We’re building the features of
4948
Supabase is a [hosted platform](https://supabase.com/dashboard). You can sign up and start using Supabase without installing anything.
5049
You can also [self-host](https://supabase.com/docs/guides/hosting/overview) and [develop locally](https://supabase.com/docs/guides/local-development).
5150

52-
![Architecture](https://github.com/supabase/supabase/blob/master/apps/docs/public/img/supabase-architecture.png)
51+
![Architecture](apps/docs/public/img/supabase-architecture.svg)
5352

5453
- [Postgres](https://www.postgresql.org/) is an object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
5554
- [Realtime](https://github.com/supabase/realtime) is an Elixir server that allows you to listen to PostgreSQL inserts, updates, and deletes using websockets. Realtime polls Postgres' built-in replication functionality for database changes, converts changes to JSON, then broadcasts the JSON over websockets to authorized clients.

apps/docs/pages/guides/cli/managing-environments.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ export const meta = {
1111

1212
This guide shows you how to set up your local Supabase development environment that integrates with GitHub Actions to automatically test and release schema changes to staging and production Supabase projects.
1313

14-
![Deploy migration](/docs/img/guides/cli/cicd-github.png)
14+
<Image
15+
alt="Diagram showing a possible environment setup for Supabase development. There are 3 branches and 3 corresponding databases: feature branch and local database, develop branch and staging database, and main branch and production database."
16+
src={{
17+
light: '/docs/img/local-dev-environment--light.svg',
18+
dark: '/docs/img/local-dev-environment.svg',
19+
}}
20+
/>
1521

1622
## Set up a local environment
1723

@@ -153,7 +159,13 @@ Without the `-f` file flag, the output is written to stdout by default.
153159

154160
In a production environment, we recommend using a CI/CD pipeline to deploy new migrations with GitHub Actions rather than deploying from your local machine.
155161

156-
![Deploy migration](/docs/img/guides/cli/cicd-github.png)
162+
<Image
163+
alt="Diagram showing a possible environment setup for Supabase development. There are 3 branches and 3 corresponding databases: feature branch and local database, develop branch and staging database, and main branch and production database."
164+
src={{
165+
light: '/docs/img/local-dev-environment--light.svg',
166+
dark: '/docs/img/local-dev-environment.svg',
167+
}}
168+
/>
157169

158170
This example uses two Supabase projects, one for production and one for staging.
159171

apps/docs/pages/guides/getting-started/architecture.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ Our goal at Supabase is to make _all_ of Postgres easy to use. That doesn’t me
2121

2222
Each Supabase project consists of several tools:
2323

24-
![Supabase Architecture](/docs/img/supabase-architecture.png)
24+
<Image
25+
alt="Diagram showing the architecture of Supabase. The Kong API gateway sits in front of 7 services: GoTrue, PostgREST, Realtime, Storage, pg_meta, Functions, and pg_graphql. All the services talk to a single Postgres instance."
26+
src={{
27+
dark: '/docs/img/supabase-architecture.svg',
28+
light: '/docs/img/supabase-architecture--light.svg',
29+
}}
30+
/>
2531

2632
### PostgreSQL (database)
2733

apps/docs/pages/guides/self-hosting/docker.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,13 @@ Supabase is a combination of open source tools, each specifically chosen for Ent
187187
If the tools and communities already exist, with an MIT, Apache 2, or equivalent open license, we will use and support that tool.
188188
If the tool doesn't exist, we build and open source it ourselves.
189189

190-
![Supabase Architecture](/docs/img/supabase-architecture.png)
190+
<Image
191+
alt="Diagram showing the architecture of Supabase. The Kong API gateway sits in front of 7 services: GoTrue, PostgREST, Realtime, Storage, pg_meta, Functions, and pg_graphql. All the services talk to a single Postgres instance."
192+
src={{
193+
dark: '/docs/img/supabase-architecture.svg',
194+
light: '/docs/img/supabase-architecture--light.svg',
195+
}}
196+
/>
191197

192198
- [Kong](https://github.com/Kong/kong) is a cloud-native API gateway.
193199
- [GoTrue](https://github.com/supabase/gotrue) is an JWT based API for managing users and issuing JWT tokens.
-181 KB
Binary file not shown.

apps/docs/public/img/local-dev-environment--light.svg

Lines changed: 83 additions & 0 deletions
Loading

apps/docs/public/img/local-dev-environment.svg

Lines changed: 83 additions & 0 deletions
Loading

apps/docs/public/img/supabase-architecture--light.svg

Lines changed: 174 additions & 0 deletions
Loading
-526 KB
Binary file not shown.

apps/docs/public/img/supabase-architecture.svg

Lines changed: 174 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)