The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
[Bug fix] Reference container name instead of localhost for postgres url in .env file (#808)
Peter Mulardc2d6abde6572
diff --git a/docs/docs/developer/local-setup.mdx b/docs/docs/developer/local-setup.mdxindex 0dd3db10b46..4f4cf2ef669 100644--- a/docs/docs/developer/local-setup.mdx+++ b/docs/docs/developer/local-setup.mdx@@ -115,11 +115,20 @@ git clone [email protected]:twentyhq/twenty.git### 3. Setup env variablesTwenty requires a few environment variables to be set. Locally, we recommend setting them through `.env` files.+```bashcp ./front/.env.example ./front/.envcp ./server/.env.example ./server/.env```-The default values should work out of the box.++The default values should work out of the box, except for the postgres URL, which requires a small modification.++Open `./server/.env` and change to the following:++```bash+PG_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default?connection_limit=1+```+### 4. Build