The first thing to do is to clone the repository:
$ git clone https://github.com/bhickta/face_attendance_django.git
Create a virtual environment to install dependencies in and activate it:
$ python3 -m venv env
$ source env/bin/activate
Then install the dependencies:
(env)$ pip install -r requirements.txt
Note the (env)
in front of the prompt. This indicates that this terminal
Once pip
has finished downloading the dependencies:
(env)$ cd project
(env)$ python manage.py runserver
And navigate to http://127.0.0.1:8000/
.
To run the tests, cd
into the directory where manage.py
is:
(env)$ python manage.py test dfa_app