Updated entrypoint to automatically run dev environment migrations
This commit is contained in:
7
entrypoints/dev.sh
Normal file
7
entrypoints/dev.sh
Normal 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
|
Reference in New Issue
Block a user