From c48137d5377f5fe052a1e5c8f4e521110e5e1968 Mon Sep 17 00:00:00 2001 From: Tyler Mercier Date: Fri, 26 Jul 2013 09:13:15 -0600 Subject: switch to copy deployments. add environment config receipe. add qa environment --- config/deploy/mo.rb | 9 +-------- config/deploy/prod.rb | 8 ++++++++ config/deploy/production.rb | 8 -------- config/deploy/qa.rb | 1 + 4 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 config/deploy/prod.rb delete mode 100644 config/deploy/production.rb create mode 100644 config/deploy/qa.rb (limited to 'config/deploy') diff --git a/config/deploy/mo.rb b/config/deploy/mo.rb index 7a4aa1a..8303ec5 100644 --- a/config/deploy/mo.rb +++ b/config/deploy/mo.rb @@ -1,8 +1 @@ -# Your HTTP server, Apache/etc -role :web, "192.241.151.56" -# This may be the same as your `Web` server -role :app, "192.241.151.56" -# This is where Rails migrations will run -role :db, "192.241.151.56", primary: true - -set :branch, "mo" +server "192.241.151.56", :web, :app, :db, primary: true diff --git a/config/deploy/prod.rb b/config/deploy/prod.rb new file mode 100644 index 0000000..90192d5 --- /dev/null +++ b/config/deploy/prod.rb @@ -0,0 +1,8 @@ +# Your HTTP server, Apache/etc +role :web, "198.199.101.128" +# This may be the same as your `Web` server +role :app, "198.199.101.128" +# This is where Rails migrations will run +role :db, "198.199.101.128", primary: true +#role :db, "your slave db-server here" + diff --git a/config/deploy/production.rb b/config/deploy/production.rb deleted file mode 100644 index b4224ee..0000000 --- a/config/deploy/production.rb +++ /dev/null @@ -1,8 +0,0 @@ -# Your HTTP server, Apache/etc -role :web, "www.parleytool.com" -# This may be the same as your `Web` server -role :app, "www.parleytool.com" -# This is where Rails migrations will run -role :db, "www.parleytool.com", primary: true -#role :db, "your slave db-server here" - diff --git a/config/deploy/qa.rb b/config/deploy/qa.rb new file mode 100644 index 0000000..1d031f0 --- /dev/null +++ b/config/deploy/qa.rb @@ -0,0 +1 @@ +server "192.241.204.27", :web, :app, :db, primary: true -- cgit v1.2.3 From f6f238c88a0324a3ee60783479e35671b50bdf32 Mon Sep 17 00:00:00 2001 From: Tyler Mercier Date: Fri, 26 Jul 2013 10:23:47 -0600 Subject: update prod to new box --- config/deploy/prod.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/deploy') diff --git a/config/deploy/prod.rb b/config/deploy/prod.rb index 90192d5..dbf27dd 100644 --- a/config/deploy/prod.rb +++ b/config/deploy/prod.rb @@ -1,8 +1,8 @@ # Your HTTP server, Apache/etc -role :web, "198.199.101.128" +role :web, "198.199.118.206" # This may be the same as your `Web` server -role :app, "198.199.101.128" +role :app, "198.199.118.206" # This is where Rails migrations will run -role :db, "198.199.101.128", primary: true +role :db, "198.199.118.206", primary: true #role :db, "your slave db-server here" -- cgit v1.2.3