21ae66d444
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
15 lines
292 B
Bash
Executable File
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
|