This is a Monk skeleton that uses HAML/SASS and Markdown for the views. This skeleton lives at http://github.com/kbingman/pages-skeleton.
The page you are looking at was generated by app/routes/site.rb
, and the template is located at app/views/pages/home.haml
.
You can easily add a db if you should need to, but this is setup to render pages in markdown and uses bundler for some basic gems.
Check the configuration file at config/settings.yml
. The keys under each environment can be accessed with the global monk_settings
function, and you will also find an example in the default route.
There's user story written for you at test/stories/site_test.rb
. Start adding whatever you want to test and then run monk test
or monk stories
. For convenience, you can also run rake
, which just invokes monk test
.
Gems are included using Bundler. Just run 'bundle install' in your project root directory to install the require gems.