Skip to content

Commit

Permalink
Terminitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Blat committed Jun 7, 2011
1 parent 754b4e6 commit 10f2f07
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -26,6 +26,7 @@ gem "yajl-ruby", :require => "yajl"
group :development do
gem "capistrano"
gem "capistrano-ext"
gem "terminitor"
end

group :test, :development do
Expand Down
7 changes: 7 additions & 0 deletions Gemfile.lock
Expand Up @@ -90,6 +90,7 @@ GEM
fastthread (1.0.7)
ffi (1.0.7)
rake (>= 0.8.7)
github (0.1.1)
google-spreadsheet-ruby (0.1.5)
nokogiri (>= 1.4.3.1)
oauth (>= 0.3.6)
Expand Down Expand Up @@ -151,6 +152,7 @@ GEM
rake (>= 0.8.7)
thor (~> 0.14.4)
rake (0.8.7)
rb-appscript (0.6.1)
redis (2.2.0)
redis-namespace (0.10.0)
redis (< 3.0.0)
Expand Down Expand Up @@ -202,6 +204,10 @@ GEM
ruby-ole (>= 1.0)
steak (1.1.0)
rspec (>= 1.3)
terminitor (0.2.1)
github
rb-appscript
thor (~> 0.14.0)
thor (0.14.6)
tilt (1.3)
timecop (0.3.5)
Expand Down Expand Up @@ -255,6 +261,7 @@ DEPENDENCIES
sequel_column_type_array
spreadsheet
steak
terminitor
timecop
warden
webrat
Expand Down
28 changes: 28 additions & 0 deletions Termfile
@@ -0,0 +1,28 @@
# COMMENT OF SCRIPT HERE
# you can make as many tabs as you wish...
# tab names are actually arbitrary at this point too.

setup 'echo "setup"'

tab "redis-server" do
run "echo 'Running redis-server'"
run "cd /tmp"
run "redis-server"
end

tab "cartodb app server" do
run "echo 'Hello developer, this is cartodb app server'"
run "cd $CARTODB_PATH"
run "git pull"
run "bundle install"
run "bundle exec rake db:reset"
run "rails s"
end

tab "cartodb api server" do
run "echo 'Hello developer, this is cartodb api server'"
run "cd $CARTODB_PATH"
run "sleep 30"
run "rails s -p 3001"
end

0 comments on commit 10f2f07

Please sign in to comment.