forked from zer.ooo/web
add web setup script
This commit is contained in:
parent
c4d99ba46c
commit
1f9d0aed08
1 changed files with 11 additions and 0 deletions
11
bin/setup_web
Executable file
11
bin/setup_web
Executable 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"
|
||||
|
Loading…
Reference in a new issue