diff --git a/conf/.env.production b/conf/.env.production index 809299a..89703b3 100644 --- a/conf/.env.production +++ b/conf/.env.production @@ -1,5 +1,5 @@ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr" +SECRET_KEY="__KEY__" # SECURITY WARNING: don 't run with debug turned on in production! DEBUG=false @@ -7,13 +7,13 @@ USE_HTTPS=true DOMAIN=__DOMAIN__ -# Instance defualt language (see options at bookwyrm/settings.py "LANGUAGES" -LANGUAGE_CODE="en-us" +# Instance default language (see options at bookwyrm/settings.py "LANGUAGES" +LANGUAGE_CODE="__LANGUAGE__" # Used for deciding which editions to prefer DEFAULT_LANGUAGE="English" ## Leave unset to allow all hosts -# ALLOWED_HOSTS="localhost,127.0.0.1,[::1]" +ALLOWED_HOSTS="localhost,127.0.0.1,[::1]" MEDIA_ROOT=images/ diff --git a/manifest.json b/manifest.json index 79daa61..bf1e23f 100644 --- a/manifest.json +++ b/manifest.json @@ -46,8 +46,8 @@ "en": "Choose the application language", "fr": "Choisissez la langue de l'application" }, - "choices": ["fr", "en"], - "default": "fr" + "choices": ["fr-fr", "en-us", "it-it", "pt-pt"], + "default": "fr-fr" }, { "name": "admin", diff --git a/scripts/install b/scripts/install index c09f697..03b297e 100755 --- a/scripts/install +++ b/scripts/install @@ -33,6 +33,7 @@ admin=$YNH_APP_ARG_ADMIN app=$YNH_APP_INSTANCE_NAME admin_mail=$(ynh_user_get_info --username=$admin --key=username) +key=$(ynh_string_random --length=32) #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS