Merge branch 'develop' into bug-article-text

This commit is contained in:
Luke Barratt 2014-03-27 21:08:10 +00:00
commit 600b41d8e2
3 changed files with 6 additions and 6 deletions

View file

@ -7,5 +7,6 @@ UNICORN_WORKERS=4
UNICORN_PORT=5000
UNICORN_SOCKET=/tmp/unicorn.ensl.sock
MYSQL_DATABASE=ensl
MYSQL_USERNAME=
MYSQL_PASSWORD=

View file

@ -3,6 +3,7 @@ base: &db
encoding: utf8
pool: 5
host: localhost
database: <%= ENV['MYSQL_DATABASE'] %>
username: <%= ENV['MYSQL_USERNAME'] %>
password: <%= ENV['MYSQL_PASSWORD'] %>
@ -15,9 +16,7 @@ test:
database: ensl_test
staging:
database: ensl
<<: *db
production:
database: ensl
<<: *db

View file

@ -2,8 +2,8 @@ set :branch, 'master'
set :rails_env, 'production'
set :unicorn_rack_env, fetch(:rails_env)
role :app, %w{deploy@ensl.org}
role :web, %w{deploy@ensl.org}
role :db, %w{deploy@ensl.org}
role :app, %w{vu2009@ensl.org}
role :web, %w{vu2009@ensl.org}
role :db, %w{vu2009@ensl.org}
server 'ensl.org', user: 'deploy', roles: %w{web app}
server 'ensl.org', user: 'vu2009', roles: %w{web app}