From d122dcacc3f7d95124f30ee988cebb0873befa34 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Aug 2019 12:52:22 +0200 Subject: Install: ALLOWED_HOSTS --- commonnet/INSTALL.md | 15 +++++++++++++++ commonnet/local_settings.py.sample | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 commonnet/INSTALL.md (limited to 'commonnet') diff --git a/commonnet/INSTALL.md b/commonnet/INSTALL.md new file mode 100644 index 0000000..655b4b8 --- /dev/null +++ b/commonnet/INSTALL.md @@ -0,0 +1,15 @@ +Install instructions for debian stretch. + +``` bash +apt install git python3 python3-pip + +echo "deb http://deb.debian.org/debian stretch-backports main contrib" >> /etc/apt/sources.list + +apt update + +cd /srv +git clone https://gitlab.com/iggdrasil/comm-on-net.git + +cd comm-on-net +URL=commonnet.myorganisation.net RESPONSIBLE_EMAIL=dev@myorganisation.net ./install.sh +``` diff --git a/commonnet/local_settings.py.sample b/commonnet/local_settings.py.sample index 30800cc..879abf0 100644 --- a/commonnet/local_settings.py.sample +++ b/commonnet/local_settings.py.sample @@ -16,3 +16,5 @@ DATABASES = { 'PORT': '5432', } } + +ALLOWED_HOSTS = ["#URL#"] -- cgit v1.2.3