Changeset View
Changeset View
Standalone View
Standalone View
bin/quickstart.sh
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
docker-compose up -d nginx | docker-compose up -d nginx | ||||
pushd ${base_dir}/src/ | pushd ${base_dir}/src/ | ||||
rm -rf database/database.sqlite | rm -rf database/database.sqlite | ||||
./artisan db:ping --wait | ./artisan db:ping --wait | ||||
php -dmemory_limit=512M ./artisan migrate:refresh --seed | php -dmemory_limit=512M ./artisan migrate:refresh --seed | ||||
./artisan data:import || : | ./artisan data:import || : | ||||
./artisan swoole:http stop >/dev/null 2>&1 || : | ./artisan octane:stop >/dev/null 2>&1 || : | ||||
SWOOLE_HTTP_DAEMONIZE=true ./artisan swoole:http start | ./artisan octane:start >/dev/null 2>&1 & | ||||
./artisan horizon:terminate >/dev/null 2>&1 || : | ./artisan horizon:terminate >/dev/null 2>&1 || : | ||||
nohup ./artisan horizon >/dev/null 2>&1 & | nohup ./artisan horizon >/dev/null 2>&1 & | ||||
popd | popd | ||||