- Download the Repository to your local machine in a folder named
Crop-Disease-Backend
- Create a virtual environment in the folder using the command below
python -m venv env
- Activate the environment with this command
.\venv\Scripts\activate
- Open terminal in this folder and install the dependencies
pip install -r requirements.txt
- Activate the environment with this command.
.\venv\Scripts\activate
- Start the application by running this command (Run the command where manage.py is located) or
cd Crop-Disease-Backend
- Command to run the application
python manage.py runserver 0.0.0.0:8000