diff options
| author | Luc Donnet | 2014-11-12 21:51:50 +0100 |
|---|---|---|
| committer | Luc Donnet | 2014-11-12 21:51:50 +0100 |
| commit | 0e6119e882ec8efa04ee894012d0196b1dfcd8f3 (patch) | |
| tree | bb5fdb23c764a71445715a4105303c38b74224f8 | |
| parent | 6848cd9ff6dbc567d1900e7f8cdcefe0c3bd5202 (diff) | |
| download | chouette-core-0e6119e882ec8efa04ee894012d0196b1dfcd8f3.tar.bz2 | |
Add sismo to capistrano deploy
| -rw-r--r-- | config/deploy.rb | 6 | ||||
| -rw-r--r-- | config/deploy/sismo.rb | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 5d3324c74..4d7e28009 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,7 +1,7 @@ require 'capistrano/ext/multistage' require './config/boot' -set :stages, %w(sandbox unstable staging production) +set :stages, %w(sandbox unstable staging production sismo) set :application, "chouette2" set :scm, :git set :repository, "https://github.com/afimb/chouette2.git" @@ -12,7 +12,7 @@ set :group_writable, true set :rake, "bundle exec rake" set :keep_releases, 4 set :rails_env, "production" #added for delayed job -set :user, "metienne" +set :user, "ldonnet" set :deploy_via, :copy set :copy_via, :scp set :copy_exclude, ".git/*" @@ -64,7 +64,7 @@ namespace :deploy do desc "Install chouette command" task :chouette_command, :except => { :no_release => true } do run "mkdir -p /var/lib/chouette/imports" - run "mkdir -p /var/lib/chouette/imports" + run "mkdir -p /var/lib/chouette/exports" run "mkdir -p /var/lib/chouette/validations" run "mkdir -p /usr/local/opt/chouette-command/" end diff --git a/config/deploy/sismo.rb b/config/deploy/sismo.rb new file mode 100644 index 000000000..a8cb59006 --- /dev/null +++ b/config/deploy/sismo.rb @@ -0,0 +1,2 @@ +server "chouette-sismo.marseille.cityway.fr", :app, :web, :db, :primary => true +set :branch, "V2_5" |
