Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 953 Bytes

README.md

File metadata and controls

58 lines (44 loc) · 953 Bytes

Backend

  1. Make sure you have python3 installed on your system.
  2. Make a .env file in the backend folder
  3. Copy the contents of the .env.example file to the .env file

To check this

Run

  python --version
you should get like this python with a version
  Python 3.10.5
if you are not getting this then install python and add it to environment variables
  1. Install virtualenv in case you haven't
  pip install virtualenv 
  1. Activate the virtual environment
  virtualenv venv
  venv\scripts\activate
  1. Install the necessary python packages
  pip install -r requirements.txt 
  1. Go to the project directory
  cd backend
  1. Migrate the models
  python manage.py makemigrations
  python manage.py migrate
  1. Run the server
  python manage.py runserver 

License

MIT