Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

156 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PantryPal

Table of Contents

Introduction

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.

Getting Started

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.

Cloning the Repository

git clone https://github.com/jkmathilda/PantryPal.git

Setting up a Virtual Environment

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

Install the required dependencies

pip list

pip install -r requirements.txt

pip freeze | tee requirements.txt.detail

Configure the Application

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.

Running the Application

python app.py

Deactivate the virtual environment

deactivate

Images

Screenshot 2024-07-24 at 8 43 07 PM Screenshot 2024-05-23 at 8 30 02 PM

Developer Team

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages