mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Replace contact email
This commit is contained in:
parent
695ef446ec
commit
d8a785d309
@ -9,5 +9,5 @@ DJANGO_DB_PORT=""
|
|||||||
DJANGO_SECRET_KEY="CHANGE_ME"
|
DJANGO_SECRET_KEY="CHANGE_ME"
|
||||||
DJANGO_SETTINGS_MODULE="note_kfet.settings"
|
DJANGO_SETTINGS_MODULE="note_kfet.settings"
|
||||||
DOMAIN="localhost"
|
DOMAIN="localhost"
|
||||||
MAILING_LIST_DOMAIN="localhost"
|
CONTACT_EMAIL="tresorerie.bde@localhost"
|
||||||
NOTE_URL="localhost"
|
NOTE_URL="localhost"
|
||||||
|
@ -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_SECRET_KEY="CHANGE_ME"
|
||||||
DJANGO_SETTINGS_MODULE="note_kfet.settings"
|
DJANGO_SETTINGS_MODULE="note_kfet.settings"
|
||||||
DOMAIN="localhost"
|
DOMAIN="localhost"
|
||||||
MAILING_LIST_DOMAIN="localhost"
|
CONTACT_EMAIL="tresorerie.bde@localhost"
|
||||||
NOTE_URL="localhost"
|
NOTE_URL="localhost"
|
||||||
|
|
||||||
Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations
|
Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
if [ -z ${NOTE_URL+x} ]; then
|
if [ -z ${NOTE_URL+x} ]; then
|
||||||
echo "Warning: your env files are not configurated."
|
echo "Warning: your env files are not configurated."
|
||||||
else
|
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/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/\.\*/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
|
sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /code/note_kfet/fixtures/cas.json
|
||||||
|
@ -128,7 +128,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
class="form-inline">
|
class="form-inline">
|
||||||
<span class="text-muted mr-1">
|
<span class="text-muted mr-1">
|
||||||
NoteKfet2020 —
|
NoteKfet2020 —
|
||||||
<a href="mailto:tresorie.bde@{{ "MAILING_LIST_DOMAIN" | getenv }}"
|
<a href="mailto:{{ "CONTACT_EMAIL" | getenv }}"
|
||||||
class="text-muted">Nous contacter</a> —
|
class="text-muted">Nous contacter</a> —
|
||||||
</span>
|
</span>
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
Loading…
Reference in New Issue
Block a user