mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
auto-generate app key
This commit is contained in:
parent
c2721be22b
commit
5d4a640f2a
2 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,9 @@
|
||||||
APP_NAME="Invoice Ninja"
|
APP_NAME="Invoice Ninja"
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_KEY=base64:3E5HVZ/T+VbZu+oA4GNlwnvwFe3jNtkGbR95K0uwr7A=
|
APP_KEY=
|
||||||
|
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
|
EXPANDED_LOGGING=false
|
||||||
|
|
||||||
APP_URL=https://__DOMAIN____PATH__
|
APP_URL=https://__DOMAIN____PATH__
|
||||||
|
|
||||||
|
@ -51,8 +53,6 @@ PHANTOMJS_KEY='__PHANTOMJS_KEY__'
|
||||||
PHANTOMJS_SECRET=__APP_KEY__
|
PHANTOMJS_SECRET=__APP_KEY__
|
||||||
|
|
||||||
UPDATE_SECRET=__API_SECRET__
|
UPDATE_SECRET=__API_SECRET__
|
||||||
|
API_SECRET=__API_SECRET__
|
||||||
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
|
||||||
SENTRY_LARAVEL_DSN=https://cc7e8e2c678041689e53e409b7dba236@sentry.invoicing.co/5
|
|
||||||
|
|
||||||
PRECONFIGURED_INSTALL=true
|
PRECONFIGURED_INSTALL=true
|
||||||
|
|
|
@ -144,9 +144,10 @@ ynh_script_progression --message="Building the application..."
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
# Run the database migrations and initially fill the db
|
# 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 migrate:fresh --seed --no-interaction --verbose --force
|
||||||
php$phpversion artisan ninja:create-account --email $email --password changeme --no-interaction --verbose
|
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 view:clear
|
||||||
php$phpversion artisan cache:clear
|
php$phpversion artisan cache:clear
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue