aboutsummaryrefslogtreecommitdiffstats
path: root/SETUP.md
diff options
context:
space:
mode:
Diffstat (limited to 'SETUP.md')
-rw-r--r--SETUP.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/SETUP.md b/SETUP.md
new file mode 100644
index 00000000..93a9d193
--- /dev/null
+++ b/SETUP.md
@@ -0,0 +1,11 @@
+# Setting up & running up the website locally
+*to be put on the wiki*
+
+- `pipenv sync`
+- `psql -c 'CREATE USER pysite;'`
+- `psql -c 'CREATE DATABASE pysite OWNER pysite;'`
+- `echo 'DEBUG=1' >> .env`
+- `echo 'DATABASE_URL=postgres://pysite:@localhost/pysite' >> .env`
+- `pipenv shell`
+- `python manage.py migrate`
+- `python manage.py runserver`