colossus/entrypoints/dev.sh

8 lines
192 B
Bash

#!/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