This repo contains the Sinatra website and documentation sources published at http://sinatra.github.com/.
Grab the sources from GitHub:
$ git clone git://github.com/sinatra/sinatra.github.com.git $ cd sinatra.github.com
Make sure you have the
bundler gem installed on your machine:
$ gem install bundler
$ bundle install
Run the test server:
$ rake server
Changes are immediately available at:
See GitHub's "Fork A Repo" for more information.
Blog posts are stored under the
_posts directory. To create a new blog post
and open your
thor blog:new 'Blog Post Title'
This requires Thor:
$ gem install thor
You will need thor, rdoc, haml and mislav's hanna gem to rebuild static files and the API docs:
$ gem install thor $ gem install rdoc -v 2.3.0 $ gem install haml -v 2.0.4 $ gem install mislav-hanna --source=http://gems.github.com/
rake pull build
The generated files under the "_includes" and "api" directories need to be committed after building. To regenerate and add those files to your index for the next commit: