Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

Merge branch 'main' into feat/improve-env-instructions

Brad Barbin7283bece7654
diff --cc README.md
index 070175d141,67f39d4d88..cbb484ea86
--- a/README.md
+++ b/README.md
@@@ -97,19 -97,14 +97,21 @@@ $ npm install # install dependenc
$ npm run db:start # pull and run the containers
```
-Copy the environment variables from the initialization script to an `.env` file:
+Create an `.env` file and copy the contents of `.env.example` file into it
+```bash
+ cp ./.env.example ./.env
```
-$ cp ./.env.example ./.env
-```
-After you've set the environment variables to the output of `npm run db:start` you can run
++
+Use the output of `npm run db:start` to set the following variables in `.env`:
+
+- SUPABASE_SERVICE_ROLE=[service_role key]
+- SUPABASE_ANON_PUBLIC=[anon key]
+
+Then you can run the following:
+
+
```bash
$ npm run db:build # run db migrations and seed script
$ npm run build # build the packages