improve local dev + contribution guide

This commit is contained in:
Andras Bacsai
2023-12-13 11:12:53 +01:00
parent f3b04c1ef9
commit 00d708610d
13 changed files with 45 additions and 28 deletions

View File

@@ -22,7 +22,10 @@ You can ask for guidance anytime on our
- 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.
If you are running Coolify for the first time:
- Run `./scripts/run dev:init` - This will delete any existing database layouts, migrate database to the new layout, and seed your database.
> If you see the login page with a 404 error, you forgot to run `./scripts/run dev:init`.
### 4) Start development
You can login your Coolify instance at `localhost:8000` with `test@example.com` and `password`.
@@ -31,7 +34,6 @@ Your horizon (Laravel scheduler): `localhost:8000/horizon` - Only reachable if y
Mails are caught by Mailpit: `localhost:8025`
## New Service Contribution
Check out the docs [here](https://coolify.io/docs/how-to-add-a-service).