Skip to content
Browse files

format code in README

  • Loading branch information...
1 parent 0adda96 commit 58baae2ec2574c56cd0e951ca469c3db4f7c2c50 @zzak zzak committed Mar 17, 2013
Showing with 16 additions and 8 deletions.
  1. +16 −8 README.md
View
24 README.md
@@ -29,25 +29,33 @@ recipes that have been requested or are in progress.
To get started you should clone the repository from github:
- git clone git://github.com/sinatra/sinatra-recipes.git
+```bash
+git clone git://github.com/sinatra/sinatra-recipes.git
+```
Now once you `cd` into `sinatra-recipes` you should see a few things.
First you should take note of the application files:
- app.rb # a tiny application for displaying the contributed recipes
- config.ru # rackup file for deploying to heroku
- Gemfile # dependencies file for bundler to run the app
+```bash
+app.rb # a tiny application for displaying the contributed recipes
+config.ru # rackup file for deploying to heroku
+Gemfile # dependencies file for bundler to run the app
+```
If you want to run the application yourself first you need the `bundler` gem.
- gem install bundler
-
+```bash
+gem install bundler
+```
+
If you are on Rubinius make sure that you have the latest bundler version
installed. Versions prior to 1.0.10 won't work.
- # then install the application dependencies
- bundle install
+```bash
+# then install the application dependencies
+bundle install
+```
Once that is complete, you should only need to run `rackup` in the application
root and visit: [localhost:9292](http://localhost:9292)

0 comments on commit 58baae2

Please sign in to comment.
Something went wrong with that request. Please try again.