Your mental health is our priority
- Python Version 3.10: Make sure you have Python 3.10 installed on your system.
To get started, ensure you have the necessary prerequisites:
-
Upgrade your
pip
to the latest version:python -m pip install --upgrade pip
-
Generate a
requirements.txt
file: [NOT REQUIRED IF CLONING]pip freeze > requirements.txt
Follow these steps to install the project on your local machine:
-
Create a Python virtual environment:
py -3 -m venv .venv
-
Activate the virtual environment:
.venv\Scripts\activate
-
Install project dependencies from
requirements.txt
:pip install -r requirements.txt
To run the project, use the following command:
uvicorn API:app --reload
This project is licensed under the COMSATS Islamabad Islamabad. See the LICENSE file for details.
For any questions or feedback, feel free to reach out to [email protected].
docker build -t test-image . sudo docker run -p 8000:8000 test-image gunicorn app.main:app --workers 4 --worker-class uvicorn.workers.UvicornWorker --bind 0.0.0.0:8000