University of Alberta, CMPUT 404 Lab 9 starter repository. Use the different HTTP authentication schemes provided in Django Rest Framework.
- Clone this repository.
git clone https://github.com/uofa-cmput404/authentication-lab.git
- Change directory into this repository.
cd authentication-lab
- Initialize a Python3 virtual environment
virtualenv venv --python=python3
- Activate the virtual environment and install the application dependencies
source venv/bin/activate pip install -r requirements.txt
- Run the migrations and create a superuser.
./manage.py migrate ./manage.py createsuperuser
- Start the Django application.
./manage.py runserver