Code Monkey home page Code Monkey logo

beer.db's Introduction

beer.db Scripts

Note: The recommended and easiest way to build yourself your own database copies (e.g. beer.db, franken.db, etc.) is using Datafiles. See the openbeer/datafile repo for details.

Intro

Build scripts for beer.db, etc.

Usage

Use rake -T to list all available tasks. Example:

$ rake -T

Will print something like:

rake about     # print versions of gems
rake build     # build beer.db from scratch (default)
rake stats     # print stats for beer.db tables/records

To get started use the following folder structure and clone some datasets with git. Example:

yorobot/
  beer.db                #  -> this repo here -- git clone
openmundi/               #  -> create folder (e.g. mkdir openmundi)
  world.db               #  -> git clone (see github.com/openmundi)
  austria.db             #  -> git clone (see github.com/openmundi)
openbeer/                #  -> create folder
  at-austria             #  -> git clone
  de-deutschland         #     ..

Start your build (e.g. rake build) inside the yorobot/beer.db folder.

Note: You can see (and change) all folder references in the settings.rb script.

More Examples

Build the database for breweries, brewpubs and beers in Austria (from scratch):

rake build DATA=at

Update the database for breweries, brewpubs and beers in Austria:

rake update DATA=at

And so on and so forth.

License

The build scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever.

Questions? Comments?

Send them along to the Open Beer & Brewery Database Forum/Mailing List. Thanks!

beer.db's People

Contributors

geraldb avatar

Stargazers

Ole Christian Langfjæran avatar  avatar John Stuifbergen avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

mshabdiz

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.