Building the project
locally on the machine
- Install pipenv https://github.com/pypa/pipenv#installation
- install dependancies
pipenv install
- activate the environment
pipenv shell
- run the migrations
python manage.py migrate
- run the server
python manage.py runserver 0.0.0.0:8000
Docker
docker build -t hello-world .
docker run -d -p 8000:8000 hello-world
Running the tests
python manage.py test