From c8d69a64232456fb97bba3158e2f0917ddb11029 Mon Sep 17 00:00:00 2001 From: Eron Powell Date: Tue, 9 Aug 2022 11:02:16 -0500 Subject: [PATCH 1/7] updated copy to newest version --- web/docs/guides/integrations/directus.mdx | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 006428f16c4..453b839579c 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -10,15 +10,15 @@ In this guide, we will demonstrate how to create a new Supabase project, install ![Supabase App](/img/guides/integrations/directus/supabase-20220608A.webp) -Supabase is an open-source Firebase alternative that provides a PostgreSQL database, storage, authentication, and a dynamic REST API based on your schema. While it is possible to self-host Supabase on your own infrastructure, this article will focus on Supabase Cloud’s Free tier, which is the fastest and easiest way to get started. +[Supabase](​​https://supabase.com/) is an open-source Firebase alternative that provides a PostgreSQL database, storage, authentication, and a dynamic REST API based on your schema. While it is possible to self-host Supabase on your own infrastructure, this article will focus on Supabase Cloud’s Free tier, which is the fastest and easiest way to get started. ![Directus App](/img/guides/integrations/directus/directus-20220608A.webp) -Directus is an open-source data platform that layers on top of any SQL database, providing a powerful suite of tools. The Directus Engine provides dynamic REST and GraphQL APIs based on your schema, hooks and automation, authentication and access control, and file transformations. Directus Studio enables engineers and non-technical users alike to browse, manage, and visualize database content through a no-code app. +[Directus](https://directus.io/) is an open-source data platform that layers on top of any SQL database, providing a powerful suite of tools. The Directus Engine provides dynamic REST and GraphQL APIs based on your schema, hooks and automation, authentication and access control, and file transformations. Directus Studio enables engineers and non-technical users alike to browse, manage, and visualize database content through a no-code app. --- -Supabase is a suite of open-source tools making Postgres databases, file storage, authentication, and edge functions more accessible to developers of all skill levels. Directus is also developer tooling and additionally provides a Data Studio that is safe and intuitive enough for anyone, including non-technical users, to use. This is the crucial bit that gives the two platforms such a strong “network effect.” +Supabase is strictly developer tooling, making it great for engineers, but its administration app can be puzzling for non-technical business users. Directus is also developer tooling, but its Data Studio is safe and intuitive enough for anyone to use. This is the crucial bit that gives the two platforms such a strong “network effect.” When these two systems are brought together, you get a scalable datastore, limitless connectivity options, and a no-code app that allows your technical and business teams to collaborate together efficiently. @@ -26,9 +26,9 @@ The two platforms share an overlap of capabilities that deepens their integratio The ability to generate *powerful* APIs dynamically to connect data User management and fine-grained access control -Digital asset storage and management. +Digital asset storage and management -More importantly, Directus and Supabase share a common vision for your data, making them quite symbiotic. Both solutions are completely open-source, with self hosted and cloud deployment options available. They are unopinionated in their approach, with vendor-agnostic data storage, and they both focus on providing a polished developer experience along with comprehensive documentation. +More importantly, Directus and Supabase share a common vision for your data, making them quite symbiotic. Both solutions are completely open-source, with self-hosted and cloud deployment options available. They are unopinionated in their approach, with vendor-agnostic data storage, and they both focus on providing a polished developer experience along with comprehensive documentation. By linking the Supabase database with your Directus Project, *you get a superset of data tools.* You'll benefit from Supabase's Postgres database and its *dev-centric* admin app with the raw power to run SQL queries, ***as well as*** the Directus no-code app, which enables intuitive permissions-based data access for the whole team. @@ -93,7 +93,7 @@ Once this is complete, you should see details about your new project: ```bash Your project has been created at /example-project. -The configuration can be found at /example-project/.env +The configuration can be found in /example-project/.env ``` 5. Lastly, navigate to your new project folder (in this case `example-project`) and start the platform: @@ -102,6 +102,7 @@ The configuration can be found at /example-project/.env cd example-project npx directus start ``` +Please note: To prevent public accessibility when using the supabase-js library,turn on row level security (RLS) on all these tables inside of the Supabase Dashboard. By default when RLS is turned on these tables cannot be read from or written to with the supabase-js library. That’s it! Your project is now up and running locally. You can access the Directus Studio in the browser via the URL displayed, and log in with the Directus admin credentials you entered above: @@ -120,11 +121,9 @@ Below are some additional resources to dive in and start exploring these two pla **Directus** - See the [Directus guides](https://directus.io/guides/). - Join the Directus community on [Discord](https://directus.chat/). -- Check out the source code on the official [Directus GitHub Repo](https://github.com/directus/directus). +- Check out the source code and give us a star on the official [Directus GitHub Repo](https://github.com/directus/directus). **Supabase** -- Checkout the [Supabase Crashcourse](https://supabase.com/docs/guides/examples). -- See the [Supabase guides](https://supabase.com/docs/guides/examples). -- Join the Supabase community on [Discord](https://discord.supabase.com/). -- Checkout the source code on the official [Supabase GitHub Repo](https://github.com/supabase/supabase). - +- Explore the [Supabase documentation](https://supabase.com/docs) +- Join the Supabase community on [Discord](https://discord.supabase.com/) +- Give Supabase a star on [Github](https://github.com/supabase/supabase) From e906cc0dc145f234207f8b95b0f7b9ca4f6a3479 Mon Sep 17 00:00:00 2001 From: Eron Powell Date: Tue, 9 Aug 2022 11:37:23 -0500 Subject: [PATCH 2/7] small tweaks --- web/docs/guides/integrations/directus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 453b839579c..806034836a6 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -102,7 +102,7 @@ The configuration can be found in /example-project/.env cd example-project npx directus start ``` -Please note: To prevent public accessibility when using the supabase-js library,turn on row level security (RLS) on all these tables inside of the Supabase Dashboard. By default when RLS is turned on these tables cannot be read from or written to with the supabase-js library. +**Please note:** To prevent public accessibility when using the supabase-js library,turn on row level security (RLS) on all these tables inside of the Supabase Dashboard. By default when RLS is turned on these tables cannot be read from or written to with the supabase-js library. That’s it! Your project is now up and running locally. You can access the Directus Studio in the browser via the URL displayed, and log in with the Directus admin credentials you entered above: From 36b738d9e4a5ca98a4517ad9b98684720572d3b1 Mon Sep 17 00:00:00 2001 From: Eron Powell Date: Tue, 9 Aug 2022 11:43:54 -0500 Subject: [PATCH 3/7] last tweaks --- web/docs/guides/integrations/directus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 806034836a6..d31288eb1b3 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -38,7 +38,7 @@ Let’s dive into how we actually set up and link these two platforms to create As mentioned, while you can [deploy Supabase locally](https://supabase.com/docs/guides/local-development). For the purpose of this guide, we’ll use Supabase Cloud: -1. Create a Supabase account by signing in with GitHub. +1. Create a **Supabase** account by signing in with GitHub. 2. Give your organization a name (this can be changed later). 3. Click **New Project** and select your organization. 4. Follow the prompts, setting a project Name, Database Password, Region, and Pricing Plan, then click **Create New Project**. From ee2f349a387d1bf837f62fe8b4fe5b15acc4cfb4 Mon Sep 17 00:00:00 2001 From: Eron Powell Date: Tue, 9 Aug 2022 12:52:14 -0500 Subject: [PATCH 4/7] updated paragraph --- web/docs/guides/integrations/directus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index d31288eb1b3..630ebc764c5 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -18,7 +18,7 @@ In this guide, we will demonstrate how to create a new Supabase project, install --- -Supabase is strictly developer tooling, making it great for engineers, but its administration app can be puzzling for non-technical business users. Directus is also developer tooling, but its Data Studio is safe and intuitive enough for anyone to use. This is the crucial bit that gives the two platforms such a strong “network effect.” +Supabase is a suite of open-source tools making Postgres databases, file storage, authentication, and edge functions more accessible to developers of all skill levels. Directus is also developer tooling and additionally provides a Data Studio that is safe and intuitive enough for anyone, including non-technical users, to use. This is the crucial bit that gives the two platforms such a strong “network effect.” When these two systems are brought together, you get a scalable datastore, limitless connectivity options, and a no-code app that allows your technical and business teams to collaborate together efficiently. From cff7cd61c56168d64474cea25a06575e12722839 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Wed, 10 Aug 2022 12:23:01 +0200 Subject: [PATCH 5/7] Update web/docs/guides/integrations/directus.mdx --- web/docs/guides/integrations/directus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 630ebc764c5..663f5a498be 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -26,7 +26,7 @@ The two platforms share an overlap of capabilities that deepens their integratio The ability to generate *powerful* APIs dynamically to connect data User management and fine-grained access control -Digital asset storage and management +Digital asset storage and management. More importantly, Directus and Supabase share a common vision for your data, making them quite symbiotic. Both solutions are completely open-source, with self-hosted and cloud deployment options available. They are unopinionated in their approach, with vendor-agnostic data storage, and they both focus on providing a polished developer experience along with comprehensive documentation. From a4baee8b38cc0b2b8704efe1c4283fb38be23419 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Wed, 10 Aug 2022 12:23:08 +0200 Subject: [PATCH 6/7] Update web/docs/guides/integrations/directus.mdx --- web/docs/guides/integrations/directus.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 663f5a498be..73a8962fddc 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -121,7 +121,7 @@ Below are some additional resources to dive in and start exploring these two pla **Directus** - See the [Directus guides](https://directus.io/guides/). - Join the Directus community on [Discord](https://directus.chat/). -- Check out the source code and give us a star on the official [Directus GitHub Repo](https://github.com/directus/directus). +- Check out the source code on the official [Directus GitHub Repo](https://github.com/directus/directus). **Supabase** - Explore the [Supabase documentation](https://supabase.com/docs) From c2284b7b40c3000f14a86c90a02c8f523d7412d1 Mon Sep 17 00:00:00 2001 From: Copple <10214025+kiwicopple@users.noreply.github.com> Date: Wed, 10 Aug 2022 12:23:19 +0200 Subject: [PATCH 7/7] Update web/docs/guides/integrations/directus.mdx --- web/docs/guides/integrations/directus.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/docs/guides/integrations/directus.mdx b/web/docs/guides/integrations/directus.mdx index 73a8962fddc..ef9a8855a5c 100644 --- a/web/docs/guides/integrations/directus.mdx +++ b/web/docs/guides/integrations/directus.mdx @@ -126,4 +126,3 @@ Below are some additional resources to dive in and start exploring these two pla **Supabase** - Explore the [Supabase documentation](https://supabase.com/docs) - Join the Supabase community on [Discord](https://discord.supabase.com/) -- Give Supabase a star on [Github](https://github.com/supabase/supabase)