Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

technex-iit-bhu/ca-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loading img... Loading img...

Technex-CA'23 Backend

Working with repo:

  1. Clone the repo in which you have to work in your system.
  2. Create or do your work in other branch with relevant name.
  3. After completing your work, commit your changes and push them.
  4. Create a pull request (PR).

Setting up the project(Backend) :

  1. Creating virtual environment:
python -m venv venv
  1. Activate virtual environment

Linux:

source venv/bin/activate

Windows:

./venv/Scripts/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Move to main folder:
cd ca_backend
  1. Apply migrations:
python manage.py migrate
  1. Collect static files :
python manage.py collectstatic
  1. Start the development server:
python manage.py runserver