Add Monica test

This commit is contained in:
tremor021 2025-09-24 13:17:58 +02:00
parent f5b570e7b7
commit 1d83f681fa
2 changed files with 3 additions and 1 deletions

View File

@ -46,6 +46,7 @@ function update_script() {
cp -r /opt/monica-backup/.env /opt/monica
cp -r /opt/monica-backup/storage/* /opt/monica/storage/
$STD composer install --no-interaction --no-dev
$STD yarn config set ignore-engines true
$STD yarn install --ignore-engines
$STD yarn run production
$STD php artisan monica:update --force

View File

@ -44,7 +44,8 @@ sed -i -e "s|^DB_USERNAME=.*|DB_USERNAME=${DB_USER}|" \
-e "s|^HASH_SALT=.*|HASH_SALT=${HASH_SALT}|" \
/opt/monica/.env
$STD composer install --no-dev -o --no-interaction
$STD yarn install --ignore-engines
$STD yarn config set ignore-engines true
$STD yarn install
$STD yarn run production
$STD php artisan key:generate
$STD php artisan setup:production --email=admin@helper-scripts.com --password=helper-scripts.com --force