To install reqired modules:
make install
To start application:
make runserver
Tests are located in tests/
, to run them and all linters:
make test-all
Before commit run:
make fix-lint
Clone repository locally:
git clone https://github.com/HyperLEDA/db-app.git
Create new branch for the new feature (substitute {number}
for issue number associated with the feature):
git branch issue-{number}
git checkout issue-{number}
Write new code
Run make test-all
and ensure that it completes successfully.
Add and commit changes:
git add .
git commit -m "some cool message that briefly describes what you changed and why"
Push changes to the repository:
git push origin issue-{number}
Navigate to https://github.com and create pull request. You should see it here.
Wait until all checks become successfull (or fix the code if they are not).
Request review from the team member or merge it with master
if you are sure.