From 2c63c256f73b5d9a7a78c257c9e71c5e0f654477 Mon Sep 17 00:00:00 2001 From: Gildas <1122076+djhi@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:03:19 +0100 Subject: [PATCH 1/2] Improve documentation about initial production setup --- doc/developer/deploy.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/developer/deploy.md b/doc/developer/deploy.md index 89a64ed..2fe2c8f 100644 --- a/doc/developer/deploy.md +++ b/doc/developer/deploy.md @@ -10,6 +10,8 @@ After configuring your Supabase instance, you can deploy the backend changes wit make supabase-deploy ``` +Make sure you access the frontend once to initialize the main admin account. See [Testing Production Mode](#testing-production-mode). + ## Testing Production Mode If you want to test you local frontend code using the remote Supabase instance and the production settings, you can run the following command: From 61a41b250e7683736184b519b86d127266cd748c Mon Sep 17 00:00:00 2001 From: fzaninotto Date: Thu, 12 Dec 2024 18:18:45 +0100 Subject: [PATCH 2/2] Misc changes --- doc/developer/deploy.md | 4 ++-- doc/developer/supabase-configuration.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/developer/deploy.md b/doc/developer/deploy.md index 2fe2c8f..d668bea 100644 --- a/doc/developer/deploy.md +++ b/doc/developer/deploy.md @@ -4,13 +4,13 @@ The entire backend of Atomic CRM is hosted on Supabase. The backend is composed of a Postgres database, a REST API, and edge functions. Check out the [Supabase Configuration](./supabase-configuration.md) section for details. -After configuring your Supabase instance, you can deploy the backend changes with the following command: +After [configuring your Supabase instance](./supabase-configuration.md), you can deploy the backend changes with the following command: ```sh make supabase-deploy ``` -Make sure you access the frontend once to initialize the main admin account. See [Testing Production Mode](#testing-production-mode). +Make sure you access the frontend once to initialize the main admin account. ## Testing Production Mode diff --git a/doc/developer/supabase-configuration.md b/doc/developer/supabase-configuration.md index 2c6058a..9e457ca 100644 --- a/doc/developer/supabase-configuration.md +++ b/doc/developer/supabase-configuration.md @@ -56,6 +56,8 @@ To do so, call the following command: make prod-start ``` +You will be prompted to create the first production user. + Using a remote Supabase instance can be interesting if you deploy from your computer, or if you want to test your app with production data in production mode. ## Email Provider Setup