diff --git a/conf/settings.py b/conf/settings.py index eac051a..c446497 100644 --- a/conf/settings.py +++ b/conf/settings.py @@ -776,7 +776,7 @@ SERVER_EMAIL = "noreply@__DOMAIN__" # Default email address to use for various automated correspondence from # the site managers. Used for registration emails. -DEFAULT_FROM_EMAIL = "__ADMINMAIL__" +DEFAULT_FROM_EMAIL = "__APP__@__DOMAIN__" # List of URLs your site is supposed to serve ALLOWED_HOSTS = ["__DOMAIN__"] diff --git a/scripts/install b/scripts/install index 0346ae9..15c23ca 100755 --- a/scripts/install +++ b/scripts/install @@ -161,6 +161,7 @@ ynh_replace_string --match_string="__GITHUBUSER__" --replace_string="$github_acc ynh_replace_string --match_string="__GITHUBTOKEN__" --replace_string="$github_token" --target_file="$settings" ynh_replace_string --match_string="__REDIS_DB__" --replace_string="$redis_db" --target_file="$settings" ynh_replace_string --match_string="__PYTHONPATH__" --replace_string="$weblate_pypath" --target_file="$settings" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$settings" # remove last "/" of $path_url ynh_replace_string --match_string="__PATHURL__" --replace_string="${path_url%/}" --target_file="$settings" diff --git a/scripts/upgrade b/scripts/upgrade index 3bea4af..3506e41 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -208,6 +208,7 @@ upgrade() { ynh_replace_string --match_string="__GITHUBTOKEN__" --replace_string="$github_token" --target_file="$settings" ynh_replace_string --match_string="__REDIS_DB__" --replace_string="$redis_db" --target_file="$settings" ynh_replace_string --match_string="__PYTHONPATH__" --replace_string="$weblate_pypath" --target_file="$settings" + ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$settings" # remove last "/" of $path_url ynh_replace_string --match_string="__PATHURL__" --replace_string="${path_url%/}" --target_file="$settings"