This repository contains code to scrape the Classical Music Database and dump the contents into a local MySQL database named "music". It also contains the LookML definitions to view the database in Looker.
- Clone the repository
- Set up a local MySQL instance with a "root" user having no password (the default)
- Install Node.js (if you haven't already).
- Run
npm installto download dependencies - Install CoffeeScript:
npm install -g coffee-script(if you haven't already) - Run
grunt rebuild-dbto create the "music" database and all its tables, etc. - Run the scraper:
coffee src/index.coffee - Set up your local Looker instance with a connection to your local "music" database.
- Set up your local Looker with a project which pulls from this repository for it's LookML.