A lightweight CMS, implemented in Sinatra.
Ruby HTML CSS Shell
Latest commit 935b73d Aug 11, 2016 @gma Merge branch 'minitest'
Fixes #32. :-)
Failed to load latest commit information.
config Removed description and keywords from config.yml. Jan 11, 2011
lib Prevent non-threadsafe load warning from Tilt Aug 11, 2016
templates Prefer Kernel.system to backticks Mar 3, 2015
test Port command tests to minitest Aug 11, 2016
views Use Google's 'Universal Analytics' tracking code Dec 10, 2014
.hound.yml Enable houndci.com's style guide checker Nov 18, 2014
.rspec Upgrade to RSpec 2.0 Jan 14, 2013
.travis.yml Only run smoke and CI tests with Ruby 2.2 and 2.3 Aug 11, 2016
Gemfile.lock Remove support for running RSpec tests Aug 11, 2016
Guardfile Removed irrelevant paths from guard config. Mar 2, 2012
RELEASING.md Made notes on the release process Mar 16, 2015
config.ru Set Nesta root for local dev/testing. May 20, 2013
nesta.gemspec Remove support for running RSpec tests Aug 11, 2016
smoke-test.sh Only run smoke and CI tests with Ruby 2.2 and 2.3 Aug 11, 2016


Nesta - a CMS for Ruby Developers

A CMS for small web sites and blogs, written in Sinatra.

Content can be written in Markdown or Textile and stored in text files (though you can also use Haml if you need to add some HTML to your pages). There's no database; write your content in your editor. Publish by pushing to a git repository.


Begin by installing the gem:

$ gem install nesta

Then use the nesta command to generate a new site:

$ nesta new mysite.com --git

Install a few dependencies, and you're away:

$ cd mysite.com
$ bundle

You'll find basic configuration options for your site in config/config.yml. The defaults will work, but you'll want to tweak it before you go very far.

That's it - you can launch a local web server in development mode using mr-sparkle...

$ bundle exec mr-sparkle config.ru

...then point your web browser at http://localhost:8080. Start editing the files in content/pages (see the docs on writing content for full instructions).


There's plenty of information on http://nestacms.com. If you need some help with anything just jump on the mailing list and ask.

If you like Nesta you can keep up with developments by following @nestacms on Twitter, and on the blog.


If you want to add a new feature, I recommend that you post a quick message to the mailing list before you start coding. I'm likely to suggest that we implement it as a plugin (to keep Nesta itself lean and simple), so you might save yourself some time if we chat about a good approach before you start.

If you think you've found a bug, please bring that up on the mailing list too, rather than creating an issue on GitHub straight away. You'll probably get a faster response on the mailing list, as I'm the only person who'll see your new issue.

-- Graham (@grahamashton on Twitter).