- Clone this repo:
git clone git@github.com:dukebody/recipes-drf-pycones19.git
- Create a virtual environment for Python 3 and activate it.
Example with virtualenvwrapper:
mkvirtualenv -p python3 drf-recipes
See other options here.
- Install desired versions for Django and DRF:
pip install -r requirements.txt
- Sync the database for first time:
python manage.py migrate
- Create a superuser:
python manage.py createsuperuser --email admin@example.com --username admin
- Start the development server:
python manage.py runserver
- Open up the browser and login to the admin site at
http://127.0.0.1:8000/admin/
.