From b095b8828126df989ee92be4e27ab21bdf97e7c1 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 6 Oct 2023 20:45:35 +0200 Subject: [PATCH] fix: contribution guide --- .env.development.example | 9 +-------- CONTRIBUTION.md | 3 ++- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.env.development.example b/.env.development.example index c956daafd..920c32d92 100644 --- a/.env.development.example +++ b/.env.development.example @@ -1,11 +1,3 @@ -############################################################################################################ -# Development Environment - -# User and group id for the user that will run the application inside the container -# Run in your terminal: `id -u` and `id -g` and that's the results -USERID= -GROUPID= -############################################################################################################ APP_NAME=Coolify-localhost APP_ID=development APP_ENV=local @@ -13,6 +5,7 @@ APP_KEY= APP_DEBUG=true APP_URL=http://localhost APP_PORT=8000 +MUX_ENABLED=false DUSK_DRIVER_URL=http://selenium:4444 diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index ef67baba1..0952e1bd8 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -15,11 +15,12 @@ ## 1) Setup your development environment ## 2) Set your environment variables - Copy [.env.development.example](./.env.development.example) to .env. -- If necessary, set `USERID` & `GROUPID` accordingly (read in .env file). ## 3) Start & setup Coolify - Run `spin up` - You can notice that errors will be thrown. Don't worry. + - If you see weird permission errors, especially on Mac, run `sudo spin up` instead. + - Run `./scripts/run setup:dev` - This will generate a secret key for you, delete any existing database layouts, migrate database to the new layout, and seed your database. ## 4) Start development