add web setup script

This commit is contained in:
Corne Oppelaar 2016-06-19 15:07:42 +02:00
parent c4d99ba46c
commit 1f9d0aed08

11
bin/setup_web Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
cd "$(realpath "$(dirname "$0")/..")";
composer install;
mkdir storage;
touch storage/db.sqlite;
./vendor/bin/propel sql:build
./vendor/bin/propel sql:insert;
echo "Done setting up web environment"