17 lines
626 B
Markdown
17 lines
626 B
Markdown
# **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
|
|
|