summaryrefslogtreecommitdiff
path: root/commonnet
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-08 12:52:22 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-08-08 12:52:22 +0200
commitd122dcacc3f7d95124f30ee988cebb0873befa34 (patch)
tree8eb72f1d4e638ac85187f6dc53d6cb1352d458ad /commonnet
parent6cc4e9dbd781cf30a7d4108a2d64ed0ac28b2a1e (diff)
downloadComm-on-net-d122dcacc3f7d95124f30ee988cebb0873befa34.tar.bz2
Comm-on-net-d122dcacc3f7d95124f30ee988cebb0873befa34.zip
Install: ALLOWED_HOSTS
Diffstat (limited to 'commonnet')
-rw-r--r--commonnet/INSTALL.md15
-rw-r--r--commonnet/local_settings.py.sample2
2 files changed, 17 insertions, 0 deletions
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#"]