Maybe you forgot to ask your question.

Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667


On 12 February 2013 16:12, Ain Tohvri <[email protected]> wrote:

> Repository: https://…:4442/git/repo.git
> deploy.rb:
>
> require "bundler/capistrano"
>
> set :application, "AppName"
>
> set :scm_username, "username"
> set :scm_password, "password"
> set :scm, :git
> set :branch, "master"
>
> set :repository,  " https://…:4442/git/repo.git";
>
> set :deploy_via, "copy"
> set :copy_cache, false
> set :copy_exclude, [".git*", ".DS_Store", "nbproject"]
>
> ssh_options[:forward_agent] = true
> set :use_sudo, false
> set :keep_releases, 5
>
> task :production do
>   set :user, "root"
>   set :password, "password"
>   set :deploy_to, "/var/www/passenger.site"
>   role :web, "domain.com"
>   role :app, "domain.com"
>   role :db,  "domain.com", :primary => true
>   ssh_options[:port] = 1756
>   set :env, "production"
> end
>
> namespace :deploy do
>
>   task :restart, :roles => :app, :except => { :no_release => true } do
>     run "cd #{current_path}; bundle exec rake assets:precompile"
>     run "touch #{File.join(current_path,'tmp','restart.txt')}"
>   end
>
> end
>
> ruby 1.8.7 (2012-10-12 patchlevel 371) [i686-darwin11]
> Capistrano v2.12.0
> rails 3.2.11
>
>  --
> --
> * You received this message because you are subscribed to the Google
> Groups "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this
> group at http://groups.google.com/group/capistrano?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to