Skip to content

FKnottenbelt/Sinatra_CMS

Repository files navigation

Sinatra app for a filebased CMS webapp

Based on these requirements


Home page:

homepage


Getting started

To get started with the app, clone the repo and then install the needed gems:

$ bundle install --without production

Run the test suite to verify that everything is working correctly:

$ rake

If the test suite passes, you'll be ready to run the app in a local server:

$ ruby cms.rb

Development

To reload the 'required' files like cms_methods.rb, use out-of-process reloading:

Install gem rerun

$ gem install rerun

Run the app by using:

$ rerun 'ruby cms.rb'