Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight CMS, implemented in Sinatra.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
config
lib/nesta
scripts
spec
templates
views
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
nesta.gemspec

README.md

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.

Installation

Begin by installing the gem:

$ gem install nesta

Then use the nesta command to generate a new site:

$ nesta new mysite.com

If you intend to deploy to Heroku, you'll also want the Heroku rake tasks, so run this version instead:

$ nesta new --heroku mysite.com

Install a few dependencies, and you're away:

$ cd mysite.com
$ bundle install

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 shotgun...

$ bundle exec shotgun config.ru

...then point your web browser at http://localhost:9393. Start editing the files in content/pages (see Creating Your Content for full instructions).

Something went wrong with that request. Please try again.