Skip to content

sepid-org/Content-Management-Service

 
 

Repository files navigation

Instalation

  • git clone [email protected]:sepid-org/Content-Management-Service.git
  • cd Content-Management-Service
  • 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 Content-Management-Service 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

سرویس مدیریت محتوای سپید

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%