Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 724 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 724 Bytes

Setup Instructions

Backend

  • Open a new terminal
  • Create and activate a new virtual environment (optional)
  • Install required packages
  pip install django
  pip install djangorestframework
  pip install Pillow
  pip install django-cors-headers
  • Go to backend root folder
  • Run python manage.py migrate
  • Run python manage.py createsuperuser // Choose username and password
  • Add tokenizer dl directory
  • Add models in dl/final_models directory
  • Run python manage.py runserver

Frontend

  • Open a new terminal
  • sudo apt update
  • sudo apt install nodejs
  • sudo apt install npm
  • Run nodejs -v // to check if nodejs successfully installed
  • Go to frontend root folder
  • Run npm i
  • Run npm start