PantryPal is a dynamic online service focused on improving pantry management and decreasing unnecessary food spoilage. By tracking food items and offering recipe suggestions for those about to expire, it helps users to efficiently use their ingredients and avoid waste.
To get started with this project, you'll need to clone the repository and set up a virtual environment. This will allow you to install the required dependencies without affecting your system-wide Python installation.
git clone https://github.com/jkmathilda/PantryPal.git
cd ./PantryPal
pyenv versions
pyenv local 3.11.6
echo '.env' >> .gitignore
echo '.venv' >> .gitignore
python -m venv .venv # create a new virtual environment
source .venv/bin/activate # Activate the virtual environment
pip list
pip install -r requirements.txt
pip freeze | tee requirements.txt.detail
To configure the application, there are a few properties that can be set the environment
echo 'OPENAI_API_KEY="sk-...."' >> .env
or select 'Your key' and enter your API key.
OR
Simply just run the program and type it in.
python app.py
deactivate