Python assignment
Requirements
python 3.6+
Installation
Clone the repository
git clone git@github.com:nithinmurali/py-assignment.git
cd py-assignment
Install all the requirements (preferably in a virtual env)
pip install -r requirements.txt
Then create the configuration file (.env
) and fill values.
cp sample.env .env
Now apply the migrations and run the server.
python manage.py migrate
python manage.py runserver 8080
Testing
Run the tests using
pytest --cov-report term