Monk Skeleton for simple markdown pages
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db/redis
log
public
test
.gitignore
20121220_dinosaur_2.ai.png
Gemfile
README.markdown
Rakefile
Thorfile
config.ru
init.rb

README.markdown

This is a no database Monk Skeleton for simple Markdown pages

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.

Settings

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.

Testing

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.

Dependencies

Gems are included using Bundler. Just run 'bundle install' in your project root directory to install the require gems.