The assignment involves creating a web interface that allows users to upload an image of their urine strip and identify the colors on the strip . Each strip will have 10 colors.
-
Set the
SECRET_KEY
environment variable in your environment or in a.env
file:SECRET_KEY=your_secret_key_here
-
Run the application using Docker Compose:
docker-compose up --build -d
This will build and start the containers defined in your
docker-compose.yml
file. -
Access the application at
http://localhost:8000
.
- Create a virtual environment:
python3 -m venv myenv
- Activate the virtual environment:
- For Windows:
myenv\Scripts\activate
- For macOS/Linux:
source myenv/bin/activate
- For Windows:
- Install the required dependencies:
pip install -r requirements.txt
- Set the
SECRET_KEY
environment variable in your environment or in a.env
file:SECRET_KEY=your_secret_key_here
- Run the application:
This will start the application on
python manage.py runserver
http://127.0.0.1:8000
. - Access the application in your web browser at
http://127.0.0.1:8000
.