ilivewithian/piemap — pull request #1 by ihid (2012-05-29 23:41:44+00:00)
Title: Converted the html file to a rails engine

Boxed the page as a rails engine. This involved:
* Extracting js and css to coffescript (app/assets/javascripts) and stylesheets (app/assets/stylesheets).
* Split the file into the layout (app/views/layouts/piemap/application.haml) and template (app/views/piemap/map/index.html.haml).
* Moving the image to the correct place (app/assets/images/piemap/piecrust.png)

To run the engine
```
cd test/dummy
bundle # Only required once
rails s
```

Then access the app at `http://localhost:3001/piemap/`