cd
to root directory- Create local virtual environment:
python3 -m venv .venv
(or usepython
) - Activate virtual environment:
source .venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Create
.env
file withOPENAI_API_KEY
key
- Activate virtual environment:
source .venv/bin/activate
- Install packages in terminal (e.g.
pip install pandas
) - Update requirements file:
pip freeze > requirements.txt
- Commit
requirements.txt
cd
to root directory- Activate virtual environment:
source .venv/bin/activate
- Run script:
python3 run.py
(orpython
)