Updated entrypoint to automatically run dev environment migrations

This commit is contained in:
2024-02-26 13:17:17 -05:00
parent 987ecde7c7
commit 96a69a94ba
2 changed files with 8 additions and 1 deletions

7
entrypoints/dev.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
# run database migrations before starting
vendor/bin/phinx migrate -e development
# run the app through the PHP built-in dev server
php -S 0.0.0.0:8080 -t public/ public/index.php