update install scripts

This commit is contained in:
r888888888
2014-06-22 20:25:32 -07:00
parent 1253592dc9
commit 3ed3febe06
9 changed files with 74 additions and 102 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
set :stages, %w(production staging)
set :stages, %w(production development staging)
set :default_stage, "staging"
set :unicorn_env, defer {stage}
require 'capistrano/ext/multistage'
@@ -21,7 +21,7 @@ set :secret_2, SecureRandom.base64(32)
set :application, "danbooru"
set :repository, "git://github.com/r888888888/danbooru.git"
set :scm, :git
set :user, "albert"
set :user, "danbooru"
set :deploy_to, "/var/www/danbooru2"
require 'capistrano-unicorn'
+1
View File
@@ -1,2 +1,3 @@
set :user, "albert"
server "sonohara.donmai.us", :web, :app, :db, :primary => true
server "hijiribe.donmai.us", :web, :app
-1
View File
@@ -1,2 +1 @@
set :user, "danbooru"
server "testbooru.donmai.us", :web, :app, :db, :primary => true