auto-generate app key
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user