virtualenv env
source env/bin/activate
# On Windows use env\Scripts\activate
$ ./setup.sh
$ ./manage.py test
$ coverage run --source='.' manage.py test
$ coverage report
$ ./manage.py runserver
server running at http://localhost:8000
admin panel(admin:adminadmin): http://localhost:8000/admin/
Locust tool has been used for load testing. We have added only 2 examples to show how we can write and test locally. Locust can be also used in production and distributed environment.
To run the Locust server:
$ locust --host=http://localhost:8000
Open up Locust’s web interface(http://localhost:8089/)