Skip to content
Snippets Groups Projects
Verified Commit 50b6e871 authored by ynerant's avatar ynerant
Browse files

Install production server


Signed-off-by: ynerant's avatarYohann D'ANELLO <ynerant@crans.org>
parent 175d6235
No related branches found
No related tags found
No related merge requests found
Pipeline #8916 passed with stages
in 9 minutes and 17 seconds
......@@ -10,7 +10,6 @@ DJANGO_SECRET_KEY=CHANGE_ME
DJANGO_SETTINGS_MODULE=note_kfet.settings
CONTACT_EMAIL=tresorerie.bde@localhost
NOTE_URL=localhost
DOMAIN=localhost
# Config for mails. Only used in production
NOTE_MAIL=notekfet@localhost
......
......@@ -14,7 +14,8 @@ Des informations complémentaires sont également disponibles sur le `Wiki Crans
getting_started
apps/index
documentation
install-dev
install
documentation
faq
external_services/index
This diff is collapsed.
......@@ -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/$DOMAIN/g" /var/www/note_kfet/apps/member/fixtures/initial.json
sed -i -e "s/example.com/$NOTE_URL/g" /var/www/note_kfet/apps/member/fixtures/initial.json
sed -i -e "s/localhost/$NOTE_URL/g" /var/www/note_kfet/note_kfet/fixtures/initial.json
sed -i -e "s/\"\.\*\"/\"https?:\/\/$NOTE_URL\/.*\"/g" /var/www/note_kfet/note_kfet/fixtures/cas.json
sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /var/www/note_kfet/note_kfet/fixtures/cas.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment