Coder Social home page Coder Social logo

twaddington / django-olcc Goto Github PK

View Code? Open in Web Editor NEW
19.0 6.0 8.0 7.63 MB

A web interface and API for searching the OLCC price list.

Home Page: http://www.oregonliquorprices.com/

License: MIT License

Python 60.15% HTML 20.28% CSS 18.10% JavaScript 1.48%

django-olcc's Introduction

This project represents a Django site built for the sole purpose of displaying Oregon Liquor Control Commission (OLCC) product, price and store data.

The models are designed to easily import product data directly from the OLCC and include enhanced functionality for interacting with the original data set.

The project was born simply because the data existed and was freely available.

You can view the live site at oregonliquorprices.com.

OLCC CSV files

Contributors

You are encouraged to fork the project and add new functionality. We'd love to see your pull requests! Please make sure to run tests before submitting a patch.

$ python manage.py test olcc

Please make sure your editor is configured to use the proper indentation style with 4-spaces and no tab characters.

Getting Started

After cloning the project into your python virtualenv, you'll first need to create a basic settings_local.py with the following contents:

DEBUG = True
TEMPLATE_DEBUG = True

Active your virtualenv and install the project dependencies:

$ pip install -r requirements.txt

To start the local development server simply run:

$ python manage.py run_gunicorn

You'll then need to create your local development database by running:

$ python manage.py syncdb

A development fixture has been provided to get you up and running quickly. You can import this fixture by running:

$ python manage.py loaddata olccdev

You can import fresh product data into your database by running:

$ python manage.py olccfetch

Potential Features

  • Price calculator: Per shot, oz, ml, 2oz bar pour.
  • Collapse product sizes onto a single detail page. This could potentially be done using the product code, which seem to have a common prefix for product type.
  • Find stores by proximity to the visitor's current location.
  • Parse the store hours into a machine readable format. Display stores as currently open/closed.
  • Product images: Scrape Creative Commons licensed photos or accept submissions.
  • Price monitoring: Get notified when your favorite item drops in price or is about to go up in price.
  • Price intelligence: Analyze historical price changes to predict future sales.

django-olcc's People

Contributors

jyaganeh avatar lightningboltemoji avatar twaddington avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-olcc's Issues

Oregon Liquor Prices (monthly pricing suggestions)

So I've been using www.oregonliquorprices.com, and I thought of a cool new feature after a recent liquor purchase.

The other day, I went and got myself some bourbon: http://www.oregonliquorprices.com/products/8189h/

I paid $43.95, the October price, and afterwards, I wanted to come on here and check to see which months it might possibly go on sale, only to see it's already going to go up in price next month, and likely for the next three, which gave me a new feature idea.

In addition to showcasing liquors currently on sale, what if there were a way to show liquors that were set to change in price the next month, once the next month's prices were available. For something like this bourbon, it might include a suggestion to buy now before the price increase at the end of the month. For other liquors going to go down in price, the website could suggest holding off until the next month.

It's just an idea, but I figured it wouldn't hurt to suggest it. Thanks for your work, and have a gone one!

Whats new?

Hey there, not sure if you're still interested in developing this site further, but one thing I would love to see is new entries to the price sheet, or items that are listed with a price this month but were unlisted the month before. Also, I'm sure it would be difficult to get location specific inventory data from OLCC if it isn't available already but even just aggregate OLCC purchase volume could help locate good deals on rare bottles. Cheers!

website doesn't work

website seems to not have any prices. Is this not being maintained anymore? it was a cool site

New layout

  • Mobile friendly responsive layout.
  • Full-width search bar on mobile.
  • Fixed position header and search on desktop.
  • Big chunky sections on desktop for homepage.
  • Large background images to add color to product detail pages.

on sale in my store

Is it possible to get all the liquors on sale which are available at my specific store?

Add a store locator

We should use HTML5 geolocation APIs to get the current location and find nearby stores. This should only happen when the user requests it so they don't get an unexpected location request.

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.