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_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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue