GithubHelp home page GithubHelp logo

justinvelluppillai / whiskyton Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cuducos/whiskyton

0.0 2.0 0.0 364 KB

Whiskys, find whiskies that you like!

Python 12.61% CSS 2.60% JavaScript 84.80%

whiskyton's Introduction

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.

whiskyton's People

Contributors

cuducos avatar justinvelluppillai avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.