Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add capfile

  • Loading branch information...
commit c1deb0639071454df7360f45c1c751653f8a17be 1 parent b9efd03
@alx authored
Showing with 6 additions and 0 deletions.
  1. +4 −0 json_server/Capfile
  2. +2 −0  json_server/config/deploy.rb
View
4 json_server/Capfile
@@ -0,0 +1,4 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
+
+load 'config/deploy' # remove this line to skip loading any of the default tasks
View
2  json_server/config/deploy.rb
@@ -19,6 +19,8 @@
server domain, :app, :web
role :db, domain, :primary => true
+default_run_options[:pty] = true
+
# if you're still using the script/reaper helper you will need
# these http://github.com/rails/irs_process_scripts
Please sign in to comment.
Something went wrong with that request. Please try again.