marc-leopold/server/README.md

19 lines
420 B
Markdown

## Notes
**DO NOT** forget to create the directories before running docker-compose the
first time otherwise they'll be created with `root` permissions and cause
everything to go to shit.
## For a persistent database
```bash
# create empty database file on host
mkdir storage
touch storage/database.sqlite
# start container
docker-compose up -d
# provision database
docker-compose exec web php artisan october:up
```