Ecoready Services exposes a Swagger UI, via which anyone can see the services and call them (if they are authorized), located at https:/ecoready-services.issel.ee.auth.gr/docs .
These instructions will help you set up and run the FastAPI application on your local machine.
Make sure you have Python and pip installed on your machine.
-
Clone the repository:
git clone https://github.com/AuthEceSoftEng/ecoready-services.git cd ecoready-services
-
Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows use `env\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
To deploy the Ecoready services, run the following command:
uvicorn main:app --reload --host 0.0.0.0 --port 8000
The page of the server should be at http://localhost:8000/docs