diff --git a/conf/default.env b/conf/default.env index 91638a7..988ac4a 100644 --- a/conf/default.env +++ b/conf/default.env @@ -1,7 +1,9 @@ APP_NAME="Invoice Ninja" APP_ENV=production -APP_KEY=base64:3E5HVZ/T+VbZu+oA4GNlwnvwFe3jNtkGbR95K0uwr7A= +APP_KEY= + APP_DEBUG=false +EXPANDED_LOGGING=false APP_URL=https://__DOMAIN____PATH__ @@ -51,8 +53,6 @@ PHANTOMJS_KEY='__PHANTOMJS_KEY__' PHANTOMJS_SECRET=__APP_KEY__ UPDATE_SECRET=__API_SECRET__ - -COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}' -SENTRY_LARAVEL_DSN=https://cc7e8e2c678041689e53e409b7dba236@sentry.invoicing.co/5 +API_SECRET=__API_SECRET__ PRECONFIGURED_INSTALL=true diff --git a/scripts/install b/scripts/install index 3229e81..dd75620 100755 --- a/scripts/install +++ b/scripts/install @@ -144,9 +144,10 @@ ynh_script_progression --message="Building the application..." pushd "$final_path" # Run the database migrations and initially fill the db - php$phpversion artisan optimize --no-interaction --verbose + php$phpversion artisan key:generate --no-interaction --verbose php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force php$phpversion artisan ninja:create-account --email $email --password changeme --no-interaction --verbose + php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan view:clear php$phpversion artisan cache:clear popd