Add Monica test

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

View File

@ -46,7 +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 install
$STD yarn install --ignore-engines
$STD yarn run production
$STD php artisan monica:update --force
chown -R www-data:www-data /opt/monica

View File

@ -44,7 +44,7 @@ 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
$STD yarn install --ignore-engines
$STD yarn run production
$STD php artisan key:generate
$STD php artisan setup:production --email=admin@helper-scripts.com --password=helper-scripts.com --force