Document similarity backend
1.0.0
This is our backend code for our major project.
# For windows
python -m venv env
# For Linux
python3 -m venv envTo run this code you must be in the root folder of the project.
pip install -r requirements.txtCreate a file named .env in the root folder of the project and copy the contents listed below
DOMAIN_URL=https://document-similarity-frontend.vercel.app/
DEBUG=True
ALLOWED_HOSTS=localhost
DJANGO_SECRET_KEY=django-insecure-y$1uddu@$n=v$qi1mszkk&5n9xygn%@_@+p^w#y7i05$w@d$$9
DB_NAME=kamao
DB_PASSWORD=Random4545
First make sure you are inside the backend folder. Then run the following command
# For development
python manage.py runserver # Windows users
python3 manage.py runserver # Linux users
# For production
gunicorn backend.wsgiWhen using
gunicornthe changes won't take effect with hot reload.