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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
docs: add instructions for restoring a production backup locally
Brad Barbinf51f7fe70e0d
diff --git a/README.md b/README.mdindex 5d57b121d4..2bd68da050 100644--- a/README.md+++ b/README.md@@ -161,3 +161,17 @@ For example, to run test command in the `@carbon/react` package you can run:```$ npm run test -w @carbon/react```++## Restoring a Production Database Locally++1. Download the production database backup from Supabase+2. Rename the migrations folder to `_migrations`+3. Restore the database using the following command:++```bash+npm run db:build # this should error out at the seed step+PGPASSWORD=postgres psql -h localhost -p 54322 -U supabase_admin -d postgres < ~/Downloads/[email protected]+npm run dev+```++4. Rename the `_migrations` folder back to `migrations`