Files
monica/docker/test-server.sh
T
jeremydenoun 21ae66d444 Breaking: Add timezone as an env variable (#170)
The idea is that the instance owner can decide what should be the default timezone for every new user on the system. Also:

* change default APP_KEY to 32 char (avoid warning on specif openssl version) and update readme to remember 'php artisan key:generate' usage
2017-06-14 21:46:55 -04:00

15 lines
292 B
Bash
Executable File

#!/bin/sh
ARTISAN="php /var/www/monica/artisan"
${ARTISAN} key:generate
${ARTISAN} migrate --force
${ARTISAN} storage:link
${ARTISAN} db:seed --class ActivityTypesTableSeeder
${ARTISAN} db:seed --class CountriesSeederTable
httpd
while true; do
sleep 60
${ARTISAN} schedule:run
done