After cloning this repo, here are the steps (not covered in the workshop) to get it working locally!
[ ] git clone repo
[ ] Python 3.7 installed locally
[ ] python3 -m venv djangowiki
to create an environment
[ ] source djangowiki/bin/activate
(on Mac)
[ ] pip install -r requirements.txt
[ ] cd
to the directory where manage.py
lives
[ ] Drink some water and stretch out
Run the following command:
python3 manage.py migrate
Next, create a superuser:
python3 manage.py createsuperuser
Locally, you can use either the provided runserver
or gunicorn
for dev-prod parity. Either command works:
python3 manage.py runserver
-OR-
gunicorn dynowiki.wsgi