Permalink
Browse files

Set up Procfile

  • Loading branch information...
1 parent 17f13e4 commit 4cda5a3302641bd4ec537c79280a654188782f69 @cavalle committed May 31, 2011
Showing with 22 additions and 1 deletion.
  1. +1 −1 .rvmrc
  2. +2 −0 Gemfile
  3. +11 −0 Gemfile.lock
  4. +2 −0 Procfile
  5. +6 −0 README.md
View
2 .rvmrc
@@ -1 +1 @@
-rvm --create use 1.9.2 > /dev/null
+rvm use 1.9.2
View
2 Gemfile
@@ -17,4 +17,6 @@ group :development, :test do
gem 'ruby-debug', :platform => :ruby_18
gem 'ruby-debug19', :platform => :ruby_19
gem 'webmock'
+ gem 'foreman'
+ gem 'thin'
end
View
11 Gemfile.lock
@@ -53,13 +53,17 @@ GEM
configuration (1.2.0)
crack (0.1.8)
culerity (0.2.15)
+ daemons (1.1.3)
diff-lcs (1.1.2)
erubis (2.6.6)
abstract (>= 1.0.0)
eventmachine (0.12.10)
ffi (0.6.3)
rake (>= 0.8.7)
ffi-rzmq (0.7.0)
+ foreman (0.16.0)
+ term-ansicolor (~> 1.0.5)
+ thor (>= 0.13.6)
i18n (0.4.2)
json_pure (1.5.0)
launchy (0.3.7)
@@ -136,6 +140,11 @@ GEM
rubyzip
steak (1.1.0)
rspec (>= 1.3)
+ term-ansicolor (1.0.5)
+ thin (1.2.11)
+ daemons (>= 1.0.9)
+ eventmachine (>= 0.12.6)
+ rack (>= 1.0.0)
thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
@@ -156,12 +165,14 @@ DEPENDENCIES
capybara
carrot
ffi-rzmq
+ foreman
launchy
ohm
rails (= 3.0.0)
rspec-rails
ruby-debug
ruby-debug19
steak
+ thin
uuidtools
webmock
View
2 Procfile
@@ -0,0 +1,2 @@
+web: bundle exec thin start
+bus: bundle exec rake event_bus:start
View
6 README.md
@@ -24,6 +24,12 @@ You also need libzeromq:
With all that set, the test suite should pass by just running:
$ rake
+
+To start the servers in development mode you can use [foreman](http://blog.daviddollar.org/2011/05/06/introducing-foreman.html):
+
+ $ foreman start
+
+The app is now running at [http://localhost:3000](http://localhost:3000)
## Directory Structure ##

0 comments on commit 4cda5a3

Please sign in to comment.