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

