git clone [email protected]:Kamva-Academy/Kamva-Backend.gitvirtualenv venvsource venv/bin/activatepip install -r requirements.txtpython3 manage.py migratepython3 manage.py createsuperuserpython3 manage.py runserver
To see apis check http://127.0.0.1:8000/api after running the project locally
After being logged in to server and Kamva-Backend folder, run:
git pulldocker-compose up -d --builddocker-compose restart nginx
In case you need to get shell, do:
- go inside the docker:
docker exec -it {name} sh python manage.py shell
- Select an issue from here that you want to work on.
- Create a new branch from
masterand fix selected issue on new branch.- creating new branch from
master:git checkout -b <new-branch-name> master
- creating new branch from
- After fixing selected issue, create a pull request (PR) to
masterand waits until reviewr review your code. - If reviewer noticed you for a mistake in PR, be responsible to fix that.
- At the end, reviewer merges your PR and your contribution complete!