Permalink
Browse files

README-driven development. preparing for gem'ing.

  • Loading branch information...
1 parent 5f633c1 commit 347650d66ba32db2e1005b4d1d46882a7d7bdba3 @croaky croaky committed Jan 12, 2011
Showing with 9 additions and 7 deletions.
  1. +8 −2 README.md
  2. +0 −4 config.ru
  3. +1 −1 lib/app.rb
View
@@ -22,9 +22,15 @@ Features
Setup
-----
-Get the Sinatra app:
+Create a Gemfile:
- git clone git@github.com:thoughtbot/fistface.git
+ source "http://rubygems.org"
+ gem "fistface", "~> 1.0"
+
+Create a rackup file (config.ru):
+
+ require "fistface"
+ run FistFace
Create the production environment:
View
@@ -1,4 +0,0 @@
-$: << File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
-
-require 'app'
-run App
View
@@ -4,7 +4,7 @@
Bundler.require
-class App < Sinatra::Base
+class FistFace < Sinatra::Base
set :app_file, __FILE__
before do

0 comments on commit 347650d

Please sign in to comment.