Make sure you're using a Python virtual environment in the x-ecute/backend folder.
If you haven't created an virtual environment in the x-ecute/backend folder, navigate to the x-ecute/backend folder and type:
python -m venv venv #if your keyword is python
or
python3 -m venv venv #if your keyword is python3
To activate the Python virtual environment in the x-ecute/backend folder, navigate to the x-ecute/backend folder and type:
. venv/bin/activate # if you are using Mac
. venv/Scripts/activate #if you are using Windows
You should see a (venv) to the left of your terminal.
To install dependencies from requirements.txt, navigate to the x-ecute/backend and run:
pip install -r requirements.txt
To run the API server locally, navigate to the x-ecute/backend folder and run:
python app.py
or
python3 app.py
If you want to add any dependncies / libraries / tools, follow these steps:
- Ask the chat and have it approved
- run
pip install <dependency>
- run
pip freeze > requirements.txt