diff --git a/.gitignore b/.gitignore index 783a4ae..8f144f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.sw[op] +.DS_Store diff --git a/README.md b/README.md index 0a0fd19..0ba4609 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.10.29~ynh1 +**Shipped version:** 5.10.45~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 25a5723..32324f7 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión actual:** 5.10.29~ynh1 +**Versión actual:** 5.10.45~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 8db2393..7b6421e 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Paketatutako bertsioa:** 5.10.29~ynh1 +**Paketatutako bertsioa:** 5.10.45~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index fc967b6..3bbabba 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. -**Version incluse :** 5.10.29~ynh1 +**Version incluse :** 5.10.45~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 19c680f..1e1ed1b 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versión proporcionada:** 5.10.29~ynh1 +**Versión proporcionada:** 5.10.45~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 11a89bd..14c6c11 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,7 @@ Ini TIDAK boleh diedit dengan tangan. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Versi terkirim:** 5.10.29~ynh1 +**Versi terkirim:** 5.10.45~ynh1 **Demo:** diff --git a/README_nl.md b/README_nl.md index face1f7..5be0a7b 100644 --- a/README_nl.md +++ b/README_nl.md @@ -19,7 +19,7 @@ Hij mag NIET handmatig aangepast worden. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Geleverde versie:** 5.10.29~ynh1 +**Geleverde versie:** 5.10.45~ynh1 **Demo:** diff --git a/README_ru.md b/README_ru.md index a57bd47..348f6ea 100644 --- a/README_ru.md +++ b/README_ru.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Поставляемая версия:** 5.10.29~ynh1 +**Поставляемая версия:** 5.10.45~ynh1 **Демо-версия:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index f0e61c0..3f46f5f 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.10.29~ynh1 +**分发版本:** 5.10.45~ynh1 **演示:** diff --git a/conf/cron b/conf/cron index ac8663e..269542a 100644 --- a/conf/cron +++ b/conf/cron @@ -1,2 +1,2 @@ -* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHPVERSION__ -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 -* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHPVERSION__ -d register_argc_argv=On artisan queue:work --stop-when-empty >> /dev/null 2>&1 +* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHP_VERSION__ -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1 +* * * * * __APP__ cd __INSTALL_DIR__ && /usr/bin/php__PHP_VERSION__ -d register_argc_argv=On artisan queue:work --stop-when-empty >> /dev/null 2>&1 diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf deleted file mode 100644 index 700c37c..0000000 --- a/conf/extra_php-fpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -; Additional php.ini defines, specific to this pool of workers. - -php_admin_value[upload_max_filesize] = 50M -php_admin_value[post_max_size] = 50M diff --git a/conf/nginx.conf b/conf/nginx.conf index 1c8770d..db1442a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,7 +26,7 @@ location ^~ __PATH__/ { location ~ ^__PATH__/index\.php(/.*|)$ { fastcgi_split_path_info ^(.+?\.php)(/.*|)$; set $path_info $fastcgi_path_info; - fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock; fastcgi_index index.php; include fastcgi_params; diff --git a/manifest.toml b/manifest.toml index 3b3b584..eb11556 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" description.en = "Create and email invoices, track payments, expenses, and time tasks" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" -version = "5.10.29~ynh1" +version = "5.10.45~ynh1" maintainers = ["Sebastian Gumprich"] @@ -18,7 +18,8 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.2.20" +yunohost = ">= 11.2.30" +helpers_version = "2.1" architectures = "all" multi_instance = true @@ -58,8 +59,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.29/invoiceninja.tar" - sha256 = "76a15b683a401f76583d1ee6f463ae08429757d28ead07571ff6372228f31d23" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.45/invoiceninja.tar" + sha256 = "3a78af814b6da850173a1e7edf47823a1921e3472d058433e2eb870bf0474baa" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" @@ -68,6 +69,7 @@ ram.runtime = "50M" [resources.system_user] [resources.install_dir] + group = "www-data:r-x" [resources.permissions] main.url = "/" diff --git a/scripts/_common.sh b/scripts/_common.sh index 944a65e..3d7f008 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -1,17 +1,5 @@ #!/bin/bash #================================================= -# COMMON VARIABLES -#================================================= - -#================================================= -# PERSONAL HELPERS -#================================================= - -#================================================= -# EXPERIMENTAL HELPERS -#================================================= - -#================================================= -# FUTURE OFFICIAL HELPERS +# COMMON VARIABLES AND CUSTOM HELPERS #================================================= diff --git a/scripts/backup b/scripts/backup index b7f5254..93e6628 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,45 +1,35 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers -#================================================= -# DECLARE DATA AND CONF FILES TO BACKUP -#================================================= -ynh_print_info --message="Declaring files to be backed up..." +ynh_print_info "Declaring files to be backed up..." #================================================= # BACKUP THE APP MAIN DIR #================================================= -ynh_backup --src_path="$install_dir" +ynh_backup "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf" -ynh_backup --src_path="/etc/cron.d/$app" +ynh_backup "/etc/cron.d/$app" #================================================= # BACKUP THE MYSQL DATABASE #================================================= -ynh_print_info --message="Backing up the MySQL database..." +ynh_print_info "Backing up the MySQL database..." -ynh_mysql_dump_db --database="$db_name" > db.sql +ynh_mysql_dump_db > db.sql #================================================= # END OF SCRIPT #================================================= -ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." +ynh_print_info "Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." diff --git a/scripts/change_url b/scripts/change_url index 7f1cbdf..0bce995 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,33 +1,25 @@ #!/bin/bash -#================================================= -# GENERIC STARTING -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers #================================================= # MODIFY URL IN NGINX CONF #================================================= -ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1 +ynh_script_progression "Updating NGINX web server configuration..." -ynh_change_url_nginx_config +ynh_config_change_url_nginx -#================================================= -# SPECIFIC MODIFICATIONS #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_replace_string --match_string="$old_domain$old_path" --replace_string="$new_domain$new_path" --target_file="$install_dir/.env" -ynh_store_file_checksum --file="$install_dir/.env" +ynh_replace --match="$old_domain$old_path" --replace="$new_domain$new_path" --file="$install_dir/.env" +ynh_store_file_checksum "$install_dir/.env" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" +ynh_script_progression "Change of URL completed for $app" diff --git a/scripts/install b/scripts/install index 2c91c39..9d12244 100755 --- a/scripts/install +++ b/scripts/install @@ -1,11 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers @@ -23,58 +17,50 @@ email="$(ynh_user_get_info --username=$admin --key=mail)" #================================================= # STORE KEYS TO APP SETTINGS #================================================= -ynh_script_progression --message="Storing secrets to app settings..." +ynh_script_progression "Storing secrets to app settings..." -ynh_app_setting_set --app=$app --key=api_secret --value=$api_secret -ynh_app_setting_set --app=$app --key=app_key --value=$app_key -ynh_app_setting_set --app=$app --key=phantomjs_key --value=$phantomjs_key +ynh_app_setting_set --key=api_secret --value=$api_secret +ynh_app_setting_set --key=app_key --value=$app_key +ynh_app_setting_set --key=phantomjs_key --value=$phantomjs_key #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=1 +ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 +ynh_script_progression "Adding system configurations related to $app..." -# Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_config_add_phpfpm -# Create a dedicated nginx config -ynh_add_nginx_config +ynh_config_add_nginx -#================================================= -# SPECIFIC SETUP #================================================= # MODIFY A CONFIG FILE #================================================= -ynh_script_progression --message="Modifying a config file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_add_config --template="default.env" --destination="$install_dir/.env" - -chmod 600 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +ynh_config_add --template="default.env" --destination="$install_dir/.env" #================================================= # BUILD THE APPLICATION #================================================= -ynh_script_progression --message="Building the application..." --weight=1 +ynh_script_progression "Building the application..." pushd "$install_dir" # Run the database migrations and initially fill the db - php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force - php$phpversion artisan ninja:create-account --email $email --password "$password" --no-interaction --verbose - php$phpversion artisan optimize --no-interaction --verbose - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + php$php_version artisan migrate:fresh --seed --no-interaction --verbose --force + php$php_version artisan ninja:create-account --email $email --password "$password" --no-interaction --verbose + php$php_version artisan optimize --no-interaction --verbose + php$php_version artisan view:clear + php$php_version artisan cache:clear popd +# invoiceninja creates some directories that need to be chmod'ed chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -82,14 +68,12 @@ chown -R $app:www-data "$install_dir" #================================================= # ADD A CRON JOB #================================================= -ynh_script_progression --message="Adding a cron job..." --weight=1 +ynh_script_progression "Adding a cron job..." -ynh_add_config --template="cron" --destination="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" +ynh_config_add --template="cron" --destination="/etc/cron.d/$app" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Installation of $app completed" +ynh_script_progression "Installation of $app completed" diff --git a/scripts/remove b/scripts/remove index 8249abd..9d4118b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -1,32 +1,21 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers #================================================= # REMOVE SYSTEM CONFIGURATIONS #================================================= -# REMOVE SYSTEMD SERVICE -#================================================= -ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 +ynh_script_progression "Removing system configurations related to $app..." -# Remove the dedicated nginx config -ynh_remove_nginx_config +ynh_config_remove_nginx -# Remove the dedicated PHP-FPM config -ynh_remove_fpm_config +ynh_config_remove_phpfpm -# Remove a cron file -ynh_secure_remove --file="/etc/cron.d/$app" +ynh_safe_rm "/etc/cron.d/$app" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Removal of $app completed" +ynh_script_progression "Removal of $app completed" diff --git a/scripts/restore b/scripts/restore index 6407e7b..37f11a1 100755 --- a/scripts/restore +++ b/scripts/restore @@ -1,59 +1,43 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - -#Keep this path for calling _common.sh inside the execution's context of backup and restore scripts source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring the app main directory..." --weight=1 +ynh_script_progression "Restoring the app main directory..." -ynh_restore_file --origin_path="$install_dir" - -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +ynh_restore "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE #================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 +ynh_script_progression "Restoring the MySQL database..." -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_mysql_db_shell < ./db.sql #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= -# RESTORE THE PHP-FPM CONFIGURATION -#================================================= -ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1 +ynh_script_progression "Restoring system configurations related to $app..." -ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" +ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf" -ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_restore_file --origin_path="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" +ynh_restore "/etc/cron.d/$app" -#================================================= -# GENERIC FINALIZATION #================================================= # RELOAD NGINX AND PHP-FPM #================================================= -ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=1 +ynh_script_progression "Reloading NGINX web server and PHP-FPM..." -ynh_systemd_action --service_name=php$phpversion-fpm --action=reload -ynh_systemd_action --service_name=nginx --action=reload +ynh_systemctl --service=php$php_version-fpm --action=reload +ynh_systemctl --service=nginx --action=reload #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" +ynh_script_progression "Restoration completed for $app" diff --git a/scripts/upgrade b/scripts/upgrade index 4676115..a58183e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,99 +1,82 @@ #!/bin/bash -#================================================= -# GENERIC START -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers +#================================================= +# ENSURE BACKWARD COMPATIBILITY +#================================================= +ynh_script_progression "Ensuring backward compatibility..." + +# Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 +ynh_app_setting_delete --key=email_firstname +ynh_app_setting_delete --key=email_lastname +ynh_app_setting_delete --key=email # also delete unnecessary duplicate of state storage + +# Retrieve `$admin` user settings +ynh_app_setting_set_default --key=email_fullname --value="$(ynh_user_get_info --username=$admin --key=fullname)" +ynh_app_setting_set_default --key=email --value="$(ynh_user_get_info --username=$admin --key=mail)" + +ynh_app_setting_set_default --key=api_secret --value="$(ynh_string_random --length=32)" +ynh_app_setting_set_default --key=app_key --value="$(ynh_string_random --length=32)" +ynh_app_setting_set_default --key=phantomjs_key --value="$(ynh_string_random --length=32)" + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Upgrading source files..." --weight=1 +ynh_script_progression "Upgrading source files..." -# Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/storage" - -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" +ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env public/storage" #================================================= # REAPPLY SYSTEM CONFIGURATIONS #================================================= -ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 +ynh_script_progression "Upgrading system configurations related to $app..." -# Create a dedicated PHP-FPM config -ynh_add_fpm_config +ynh_config_add_phpfpm -# Create a dedicated NGINX config -ynh_add_nginx_config +ynh_config_add_nginx -ynh_add_config --template="cron" --destination="/etc/cron.d/$app" -chown root: "/etc/cron.d/$app" -chmod 644 "/etc/cron.d/$app" - -#================================================= -# ENSURE BACKWARD COMPATIBILITY -#================================================= -ynh_script_progression --message="Ensuring backward compatibility..." --weight=1 - -# Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 -ynh_app_setting_delete --app=$app --key=email_firstname -ynh_app_setting_delete --app=$app --key=email_lastname -ynh_app_setting_delete --app=$app --key=email # also delete unnecessary duplicate of state storage - -# Retrieve `$admin` user settings -email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" -email="$(ynh_user_get_info --username=$admin --key=mail)" +ynh_config_add --template="cron" --destination="/etc/cron.d/$app" #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +ynh_script_progression "Updating configuration..." -ynh_add_config --template="default.env" --destination="$install_dir/.env" - -chmod 600 "$install_dir/.env" -chown $app:$app "$install_dir/.env" +ynh_config_add --template="default.env" --destination="$install_dir/.env" #================================================= # UPGRADE DATABASE #================================================= -ynh_script_progression --message="Upgrading the database..." --weight=1 +ynh_script_progression "Upgrading the database..." pushd "$install_dir" # Clear caches # https://github.com/invoiceninja/invoiceninja/issues/7397 - #ynh_secure_remove --file=$install_dir/bootstrap/cache/ - #ynh_secure_remove --file=$install_dir/storage/framework/cache/ - #ynh_secure_remove --file=$install_dir/storage/framework/sessions/ + #ynh_safe_rm $install_dir/bootstrap/cache/ + #ynh_safe_rm $install_dir/storage/framework/cache/ + #ynh_safe_rm $install_dir/storage/framework/sessions/ #mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + php$php_version artisan view:clear + php$php_version artisan cache:clear # Run the database migrations - php$phpversion artisan migrate --force --no-interaction --verbose + php$php_version artisan migrate --force --no-interaction --verbose # Optimize the framework for better performance - php$phpversion artisan optimize --no-interaction --verbose + php$php_version artisan optimize --no-interaction --verbose # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - #php$phpversion artisan view:clear - #php$phpversion artisan cache:clear + #php$php_version artisan view:clear + #php$php_version artisan cache:clear popd -chmod 750 "$install_dir" -chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$install_dir" - #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade of $app completed" +ynh_script_progression "Upgrade of $app completed" diff --git a/sources/extra_files/app/.env b/sources/extra_files/app/.env deleted file mode 100755 index 0e7ff5a..0000000 --- a/sources/extra_files/app/.env +++ /dev/null @@ -1,49 +0,0 @@ -APP_NAME="Invoice Ninja" -APP_ENV=production -APP_KEY=__APP_KEY__ -#API_SECRET=__API_SECRET__ -APP_CIPHER=AES-256-CBC -APP_DEBUG=false - -APP_LOCALE=en - -APP_URL=https://__DOMAIN____PATH__ - -MULTI_DB_ENABLED=false - -DB_HOST1=localhost -DB_DATABASE1=__DB_NAME__ -DB_USERNAME1=__DB_USER__ -DB_PASSWORD1=__DB_PASS__ -DB_PORT1=3306 - -DEMO_MODE=false - -BROADCAST_DRIVER=log -LOG_CHANNEL=stack -CACHE_DRIVER=file -QUEUE_CONNECTION=database -SESSION_DRIVER=file -SESSION_LIFETIME=120 - -#REDIS_HOST=127.0.0.1 -#REDIS_PASSWORD=null -#REDIS_PORT=6379 -REQUIRE_HTTPS=true -MAIL_MAILER=mail -MAIL_PORT=25 -MAIL_ENCRYPTION=tls -MAIL_HOST=localhost -MAIL_USERNAME= -MAIL_FROM_NAME= -MAIL_FROM_ADDRESS= -MAIL_PASSWORD= -NINJA_ENVIRONMENT=selfhost -DB_CONNECTION=db-ninja-01 - -NODE_PATH=/opt/node_n/bin/node -NPM_PATH=/opt/node_n/bin/npm - -PHANTOMJS_PDF_GENERATION=true -PHANTOMJS_KEY='a-demo-key-with-low-quota-per-ip-address' -PHANTOMJS_SECRET='your-secret-here'