Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Repository files navigation

Instalation

  • git clone [email protected]:Kamva-Academy/Kamva-Backend.git
  • virtualenv venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • python3 manage.py migrate
  • python3 manage.py createsuperuser
  • python3 manage.py runserver

APIs

To see apis check http://127.0.0.1:8000/api after running the project locally

Deployment

After being logged in to server and Kamva-Backend folder, run:

  • git pull
  • docker-compose up -d --build
  • docker-compose restart nginx

In case you need to get shell, do:

  • go inside the docker: docker exec -it {name} sh
  • python manage.py shell

Contribution

  1. Select an issue from here that you want to work on.
  2. Create a new branch from master and fix selected issue on new branch.
    • creating new branch from master: git checkout -b <new-branch-name> master
  3. After fixing selected issue, create a pull request (PR) to master and waits until reviewr review your code.
  4. If reviewer noticed you for a mistake in PR, be responsible to fix that.
  5. At the end, reviewer merges your PR and your contribution complete!

About

سرویس بک‌اند پلتفرم کاموا

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages