require 'deprec'
set :application, "d3_site_book"
set :domain, "208.20.84.162" #"
inthetwinkleofani.com"
set :repository, "g...@github.com:viatropos/d3_site_book.git"
default_run_options[:pty] = true
ssh_options[:forward_agent] = true
ssh_options[:paranoid] = false
set :user, "lance"
set :branch, "master"
set :deploy_via, :remote_cache
set :scm_username, 'viatropos'
set :git_account, 'viatropos'
set :scm, :git
set :ruby_vm_type, :ree
set :web_server_type, :nginx
set :app_server_type, :mongrel
set :db_server_type, :couchdb
role :app, domain
role :web, domain
role :db, domain, :primary => true
namespace :deploy do
task :restart, :roles => :app, :except => { :no_release => true } do
top.deprec.app.restart
end
end
---
If I just do "cap deploy:setup && cap deploy", it mostly works, still
getting some errors, still not able to run the above deprec command.
Thanks for the help.
Just in case, I have set up 5 domain records on slicehost for
"
www.inthetwinkleofani.com", they don't seem to be up an running yet
though (I did it last night):
inthetwinkleofani.com. 208.20.84.162
www 208.20.84.16272 A
inthetwinkleofani.com.
ns1.slicehost.net. NS
inthetwinkleofani.com.
ns2.slicehost.net. NS
inthetwinkleofani.com.
ns3.slicehost.net. NS
- Lance
> On Wed, Jul 15, 2009 at 3:04 PM, viatropos <
lancejpoll...@gmail.com> wrote:
>
> > I'm still trying to work through my first run with deprec but now I'm
> > stuck on the "cap deprec:rails:install_stack" command. I keep getting
> > this message:
>
> > cap deprec:rails:install_stack
> > triggering load callbacks
> > * executing `deprec:connect_canonical_tasks'
> > * executing `deprec:rails:install_stack'
> > * executing `deprec:ree:install'
> > * executing `deprec:ree:install_deps'
> > * executing "sudo -p 'sudo password: ' sh -c \"DEBCONF_TERSE='yes'
> > DEBIAN_PRIORITY='critical' DEBIAN_FRONTEND=noninteractive apt-get -qy
> > update\""
> > servers: ["
www.inthetwinkleofani.com", "208.20.84.162",
> > "
ns1.slicehost.net", "
ns2.slicehost.net", "
ns3.slicehost.net"]
> > Password:
> > connection failed for:
www.inthetwinkleofani.com(SocketError:
> > getaddrinfo: nodename nor servname provided, or not known),
> >
ns1.slicehost.net (Errno::ECONNREFUSED: Connection refused - connect
> > (2)),
ns2.slicehost.net (Errno::ECONNREFUSED: Connection refused -
> > connect(2)),
ns3.slicehost.net (Net::SSH::AuthenticationFailed: lance)
>
> > In the 'config/deploy.rb' file, I the only things I changed are these:
>
> > set :application, "d3_site_book"
> > set :domain, "
www.inthetwinkleofani.com"
> > set :repository, "git://
github.com/viatropos/#{application}.git<
http://github.com/viatropos/#%7Bapplication%7D.git>