From a24c825ad570ddcdf231966caf6f129a0d1ccf04 Mon Sep 17 00:00:00 2001 From: Sahil Suman <34382211+sahilsuman933@users.noreply.github.com> Date: Sat, 4 May 2024 15:52:22 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/README.md b/README.md index e69de29..0bb4cca 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,44 @@ +# Server-Side Example Python Flask + +This repository hosts a Python Flask application that demonstrates server-side operations with Flask. This project is structured to provide a straightforward example of how to manage API integrations and environment configurations. + +## Prerequisites + +Before you begin, ensure you have met the following requirements: +- Python 3.6 or higher +- Poetry for dependency management + +## Installation + +To install the necessary libraries and setup the project environment, follow these steps: + +1. Clone the repository: + ```bash + git clone https://github.com/VapiAI/server-side-example-python-flask.git +2. Navigate to the project directory: + ```bash + cd server-side-example-python-flask +3. Install dependencies using Poetry: + ```bash + poetry install +## Configuring Environment Variables +This project requires certain environment variables to be set. Create a .env file in the root directory of your project and add the following keys: + + ```bash + WEATHER_API_KEY= + OPENAI_API_KEY= + VAPI_BASE_URL=https://api.vapi.ai + VAPI_API_KEY= + ``` + +Replace , , and with the actual API keys. + +## Running the Project +To run the project, use Poetry to handle the environment: + + ```bash + poetry run flask run + ``` + +This command starts the Flask server on http://127.0.0.1:5000/. You can access the server from your web browser at this address. + From 1c5fdcc2e7ebbb0e7460f9bcff1994cc08be78ca Mon Sep 17 00:00:00 2001 From: Sahil Suman <34382211+sahilsuman933@users.noreply.github.com> Date: Sat, 4 May 2024 16:43:01 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0bb4cca..4a06467 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Replace , , and