2016-06-19 13:07:42 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
cd "$(realpath "$(dirname "$0")/..")";
|
|
|
|
|
|
|
|
composer install;
|
2016-08-07 10:33:57 +00:00
|
|
|
test -d storage || mkdir storage;
|
2016-06-19 13:07:42 +00:00
|
|
|
touch storage/db.sqlite;
|
2016-08-07 10:33:57 +00:00
|
|
|
./vendor/bin/propel sql:build --overwrite;
|
2016-06-19 13:07:42 +00:00
|
|
|
./vendor/bin/propel sql:insert;
|
|
|
|
|
|
|
|
echo "Done setting up web environment"
|
|
|
|
|