xichen1 / authentication-lab

Home Page:https://uofa-cmput404.github.io/lab-9-authentication.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

authentication-lab

University of Alberta, CMPUT 404 Lab 9 starter repository. Use the different HTTP authentication schemes provided in Django Rest Framework.

Getting Started

  1. Clone this repository.
    • git clone https://github.com/uofa-cmput404/authentication-lab.git
  2. Change directory into this repository.
    • cd authentication-lab
  3. Initialize a Python3 virtual environment
    • virtualenv venv --python=python3
  4. Activate the virtual environment and install the application dependencies
    source venv/bin/activate
    pip install -r requirements.txt
  5. Run the migrations and create a superuser.
    ./manage.py migrate
    ./manage.py createsuperuser
  6. Start the Django application. ./manage.py runserver

About

https://uofa-cmput404.github.io/lab-9-authentication.html

License:MIT License


Languages

Language:Python 99.4%Language:HTML 0.6%