forked from Vizzuality/cartodb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fernando Blat
committed
Jun 7, 2011
1 parent
754b4e6
commit 10f2f07
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|