![Code style: black](https://camo.githubusercontent.com/5bf9e9fa18966df7cb5fac7715bef6b72df15e01a6efa9d616c83f9fcb527fe2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f64652532307374796c652d626c61636b2d3030303030302e737667)
How to run project locally
1 Install Python 3.12 and setup virtual environment
2 Install project requirements
python -m pip install -r requirements/base.txt
3 Create .env file and add SECRET_KEY
echo "SECRET_KEY=$(openssl rand -hex 40)" > .env
4 Apply database migrations
5 Load test users from fixture
python manage.py loaddata fixtures/users/initial_data.json
python manage.py runserver
7 Open Swagger to check out API endpoints
sensible-browser http://127.0.0.1:8000/api/docs/
username |
password |
admin |
xhSvIBITTYmIBww |
user1 |
xhSvIBITTYmIBww |
user2 |
xhSvIBITTYmIBww |