aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb6
-rw-r--r--config/deploy/sismo.rb2
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"