Dockerized for dev purposes
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
2025-11-04 19:25:30 +10:00
parent ca4569cb8f
commit c0618ce3e4
7 changed files with 790 additions and 674 deletions

16
ReadMe.md Normal file
View File

@@ -0,0 +1,16 @@
# **Dev Installation Instructions**
1. Create a .env file from .env.example and set database config as such
```
DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=dredge_tours
DB_USERNAME=dredge
DB_PASSWORD=dredge123
```
2. Run `docker compose up -d --build` on first use and `docker compose up -d` on subsequent uses
3. With containers running, run `docker compose run php php artisan app:init`
4. Run `docker compose exec php npm run dev` to start a hot reload environment, or `docker compose exec php npm run build` for a static, manual reload