aboutsummaryrefslogtreecommitdiffstats
path: root/SETUP.md
blob: dd974338415165c0b5f4ca0717b28a253875dfcc (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 WITH CREATEDB;'`
- `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`