- Clone the repo in which you have to work in your system.
- Create or do your work in other branch with relevant name.
- After completing your work, commit your changes and push them.
- Create a pull request (PR).
- Creating virtual environment:
python -m venv venv
- Activate virtual environment
Linux:
source venv/bin/activate
Windows:
./venv/Scripts/activate
- Install dependencies
pip install -r requirements.txt
- Move to main folder:
cd ca_backend
- Apply migrations:
python manage.py migrate
- Collect static files :
python manage.py collectstatic
- Start the development server:
python manage.py runserver