From d8a785d3090464a45be2af7762c130ee3d2463f0 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 11 Mar 2020 17:51:42 +0100 Subject: [PATCH] Replace contact email --- .env_example | 2 +- README.md | 2 +- entrypoint.sh | 2 +- templates/base.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env_example b/.env_example index e29b0af2..5aba0d14 100644 --- a/.env_example +++ b/.env_example @@ -9,5 +9,5 @@ DJANGO_DB_PORT="" DJANGO_SECRET_KEY="CHANGE_ME" DJANGO_SETTINGS_MODULE="note_kfet.settings" DOMAIN="localhost" -MAILING_LIST_DOMAIN="localhost" +CONTACT_EMAIL="tresorerie.bde@localhost" NOTE_URL="localhost" diff --git a/README.md b/README.md index 67a99d7a..91f2f17d 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ On supposera pour la suite que vous utiliser debian/ubuntu sur un serveur tout n DJANGO_SECRET_KEY="CHANGE_ME" DJANGO_SETTINGS_MODULE="note_kfet.settings" DOMAIN="localhost" - MAILING_LIST_DOMAIN="localhost" + CONTACT_EMAIL="tresorerie.bde@localhost" NOTE_URL="localhost" Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations diff --git a/entrypoint.sh b/entrypoint.sh index 97efb023..e5a22a5a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,7 @@ if [ -z ${NOTE_URL+x} ]; then echo "Warning: your env files are not configurated." else - sed -i -e "s/example.com/$MAILING_LIST_DOMAIN/g" /code/apps/member/fixtures/initial.json + sed -i -e "s/example.com/$DOMAIN/g" /code/apps/member/fixtures/initial.json sed -i -e "s/localhost/$NOTE_URL/g" /code/note_kfet/fixtures/initial.json sed -i -e "s/\.\*/https?:\/\/$NOTE_URL\/.*/g" /code/note_kfet/fixtures/cas.json sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /code/note_kfet/fixtures/cas.json diff --git a/templates/base.html b/templates/base.html index 57c741d0..d57dab89 100644 --- a/templates/base.html +++ b/templates/base.html @@ -128,7 +128,7 @@ SPDX-License-Identifier: GPL-3.0-or-later class="form-inline"> NoteKfet2020 — - Nous contacter {% csrf_token %}