Skip to content

Commit

Permalink
Set up Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalle committed May 31, 2011
1 parent 17f13e4 commit 4cda5a3
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .rvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rvm --create use 1.9.2 > /dev/null
rvm use 1.9.2
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 11 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
2 changes: 2 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
web: bundle exec thin start
bus: bundle exec rake event_bus:start
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ##

Expand Down

0 comments on commit 4cda5a3

Please sign in to comment.