GitHub - sofiethorsen/cocktail: Drink recipe suggestions · GitHub
Skip to content

sofiethorsen/cocktail

Folders and files

Repository files navigation

cocktail

Gives drink suggestions based on the ingredients you have at home.

Installation

requirements.txt

Install the pip packages using:

pip install -r requirements.txt

postgres

To run the server you will need postgresql:

brew install postgresql

You can start postgres manually with:

pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

And stop it with:

pg_ctl -D /usr/local/var/postgres stop -s -m fast

You can then create the database by downloading the data from Systembolaget:

./download_articles.sh

and then run the create_db.sh script:

./create_db.sh

Running the application

Make sure the server is running and then just run:

python cocktail.py

About

Drink recipe suggestions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors