Skip to content

Firefly III: a personal finances manager

Better text and fixed entry point

James Cole78ccca4f5829
diff --git a/.deploy/docker/entrypoint.sh b/.deploy/docker/entrypoint.sh
index f3a0bd35cb..9c699eec30 100755
--- a/.deploy/docker/entrypoint.sh
+++ b/.deploy/docker/entrypoint.sh
@@ -18,12 +18,11 @@ mkdir -p $FIREFLY_PATH/storage/framework/views/v2
mkdir -p $FIREFLY_PATH/storage/logs
mkdir -p $FIREFLY_PATH/storage/upload
-if [ $DKR_CHECK_SQLITE != "false" ]
+if [[ $DKR_CHECK_SQLITE != "false" ]]; then
echo "Touch DB file (if SQLlite)..."
- if [ $DB_CONNECTION == "sqlite" ]
- then
- touch $FIREFLY_PATH/storage/database/database.sqlite
- echo "Touched!"
+ if [[ $DB_CONNECTION == "sqlite" ]]; then
+ touch $FIREFLY_PATH/storage/database/database.sqlite
+ echo "Touched!"
fi
fi
@@ -58,14 +57,15 @@ echo "Run various artisan commands..."
php artisan cache:clear
-if [ $DKR_RUN_MIGRATION != "false" ]
+if [[ $DKR_RUN_MIGRATION != "false" ]]; then
php artisan firefly-iii:create-database
php artisan migrate --seed
php artisan firefly-iii:decrypt-all
fi
# there are 13 upgrade commands
-if [ $DKR_RUN_MIGRATION != "false" ]
+
+if [[ $DKR_RUN_MIGRATION != "false" ]]; then
php artisan firefly-iii:transaction-identifiers
php artisan firefly-iii:migrate-to-groups
php artisan firefly-iii:account-currencies
@@ -82,7 +82,7 @@ if [ $DKR_RUN_MIGRATION != "false" ]
fi
# there are 15 verify commands
-if [ $DKR_RUN_VERIFY != "false" ]
+if [[ $DKR_RUN_VERIFY != "false" ]]; then
php artisan firefly-iii:fix-piggies
php artisan firefly-iii:create-link-types
php artisan firefly-iii:create-access-tokens
@@ -101,14 +101,14 @@ if [ $DKR_RUN_VERIFY != "false" ]
fi
# report commands
-if [ $DKR_RUN_REPORT != "false" ]
+if [[ $DKR_RUN_REPORT != "false" ]]; then
php artisan firefly-iii:report-empty-objects
php artisan firefly-iii:report-sum
fi
php artisan firefly-iii:restore-oauth-keys
-if [ $DKR_RUN_PASSPORT_INSTALL != "false" ]
+if [[ $DKR_RUN_PASSPORT_INSTALL != "false" ]]; then
php artisan passport:install
fi
diff --git a/.env.example b/.env.example
index 33e4dccae4..5b5c525899 100644
--- a/.env.example
+++ b/.env.example
@@ -188,13 +188,15 @@ DKR_RUN_MIGRATION="true"
# with the latest fixes (outside of migrations!)
DKR_RUN_UPGRADE="true"
-# Disable all data checks and verifications. Disabling this makes Firefly III assume your DB is intact.
+# Verify database integrity. Includes all data checks and verifications.
+# Disabling this makes Firefly III assume your DB is intact.
DKR_RUN_VERIFY="true"
-# Disable all DB reports. When disabled, Firefly III won't go over your data to report current state.
+# Run database reporting commands. When disabled, Firefly III won't go over your data to report current state.
# Disabling this should have no impact on data integrity or safety but it won't warn you of possible issues.
DKR_RUN_REPORT="true"
+# Generate OAuth2 keys.
# When disabled, Firefly III won't attempt to generate OAuth2 Passport keys. This won't be an issue, IFF (if and only if)
# you had previously generated keys already and they're stored in your database for restauration.
DKR_RUN_PASSPORT_INSTALL="true"