Skip to content

Techies-Collab-and-Upskill-Live-Project/tcu-backend

Repository files navigation

tcubackend

🧑🏽‍💻 Here is a workflow to contribute to projects.

  1. Clone this repository to your local machine.
git clone [this-repo]
  1. Change to the repository directory on your computer:
cd tcubackend
  1. Create a branch using the git switch command:
git switch -c branch-name
  1. Create your virtual environment(Linux OS)
python3 -m venv venv; source venv/bin/activate
  1. Install all Packages in requirements
pip install -r requirements.txt
  1. Install all Packages in requirements
pip install -r requirements.txt
  1. Run Migration
python3 manage.py makemigrations; python3 manage.py migrate
  1. Run Server ensure that is no error, if there is(are) errors, fix them before pushing
python3 manage.py runserver

or use a production command

gunicorn tcubackend.wsgi:application --workers=4
  1. Implementing your features if you install a new packge, add to the requirements file using this
pip freeze > requirements.txt
  1. Push to your branch(not main branch)
git push origin  branch-name
  1. Then Come to Github to make pull request

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •