update install scripts

This commit is contained in:
r888888888
2014-05-02 20:27:14 -07:00
parent 1253592dc9
commit 3ed3febe06
9 changed files with 74 additions and 102 deletions

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'