Skip to content

Commit

Permalink
Merge pull request #77 from marmelab/improve-documentation
Browse files Browse the repository at this point in the history
Improve documentation about initial production setup
  • Loading branch information
fzaninotto authored Dec 12, 2024
2 parents 51fe771 + 61a41b2 commit d8050be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/developer/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

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.

## 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:
Expand Down
2 changes: 2 additions & 0 deletions doc/developer/supabase-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8050be

Please sign in to comment.