All in one platform for intercity bus operators
Steps to locally setup development after cloning the project.
Create a virtualenv with python 3.10+ and activate it
python -m venv venv
source venv/bin/activate
Then start the server with
make build
This single command should
We use the classic unit test framework to run django tests testing each endpoint
The broad approach is to create mock data for each test with setup and check specific
test case. Although in production scenario you would add integration or End to end testing.
To run the entire test suite in one go simply run
make test
You can actually run our continous integration by executing
make ci
This should run
- formatting pipeline
- linting pipeline
- testing
- coverage
The CI pipeline itself runs all the tests for the project and generates an html report
in the root directory of the project.
make superuser
Provide a username, password, email and then you can access admin at http://localhost:8000/admin/