aboutsummaryrefslogtreecommitdiffstats
path: root/SETUP.md
blob: 93a9d193ab12bb70c7caaf9f6c66285e20440177 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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`