mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Update entry point script.
This commit is contained in:
@@ -20,11 +20,22 @@ mkdir -p $FIREFLY_PATH/storage/upload
|
|||||||
chown -R www-data:www-data -R $FIREFLY_PATH/storage
|
chown -R www-data:www-data -R $FIREFLY_PATH/storage
|
||||||
chmod -R 775 $FIREFLY_PATH/storage
|
chmod -R 775 $FIREFLY_PATH/storage
|
||||||
|
|
||||||
|
chown -R www-data:www-data -R $FIREFLY_PATH/app
|
||||||
|
chmod -R 775 $FIREFLY_PATH/app
|
||||||
|
|
||||||
# remove any lingering files that may break upgrades:
|
# remove any lingering files that may break upgrades:
|
||||||
rm -f $FIREFLY_PATH/storage/logs/laravel.log
|
rm -f $FIREFLY_PATH/storage/logs/laravel.log
|
||||||
|
|
||||||
cat .env.docker | envsubst > .env
|
cat .env.docker | envsubst > .env
|
||||||
composer dump-autoload
|
composer dump-autoload
|
||||||
php artisan package:discover
|
php artisan package:discover
|
||||||
|
|
||||||
|
php artisan migrate --seed
|
||||||
|
php artisan firefly:upgrade-database
|
||||||
|
php artisan firefly:verify
|
||||||
|
php artisan passport:install
|
||||||
|
php artisan cache:clear
|
||||||
|
|
||||||
|
|
||||||
php artisan firefly:instructions install
|
php artisan firefly:instructions install
|
||||||
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf --nodaemon
|
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf --nodaemon
|
Reference in New Issue
Block a user