Skip to content

justinvelluppillai/whiskyton

 
 

Repository files navigation

Whiskython

About

This web based app uses an open database about whisky to help you find whiskys you'd probably like. It uses mathematics to run through the tastes classified in that database, and to find the best matches. We were inspired by this data visualization shared on Reddit.

What really matters

This is our very first project in Python (and we are not professional coders) -- so all feedback is important to help us through our learning process. Don't hesitate to criticize our code and software design! To be true, that is what we are expecting :)

Installation

Get your virtualenv and PostgreSQL running.

Check if the access data to your local PostgreSQL server (user, password and database) is correct at config.py. Look for the first instance of the variable SQLALCHEMY_DATABASE_URI (the second instance of this variable is set to make the app work under Heroku server).

Install the dependencies:

$ pip install -r requirements.txt

If you already have an old version of Whiskython database, drop it:

$ ./db_drop_tables.py

Then run the following commands (you might have to give the right permissions to each file by typing chmod a+x [filename], otherwise you won't be able to execute them):

$ ./db_create.py
$ ./db_migrate.py
$ ./db_add_whisky_data.py
$ ./db_add_correlations.py

Finally ./run.py to start your server.

Thanks

We had a lot of Python teachers, we are so glad we could count on you, guys:

In sum, we had the best teachers of the world in Python. Any mistake here is completely our fault.

License, copyright and shit

Do whatever you want with this code, but try to remember to mention the source.

About

Whiskys, find whiskies that you like!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.8%
  • Python 12.6%
  • CSS 2.6%