On 19 Nov 2011, at 19:54, Nikolay <[email protected]> wrote:

> I have vpn server (ubuntu10 + .rvm + ror + nginx + passenger +
> unicorn).
> 
> Questions:
> 1. How to deploy in first time with capistrano through git, if I don't
> have project on the server (just empty project folder)?

There's a task for this, something like deploy:setup

> 2. Should I have project on my local machine to deploy on the server
> machine thought git?
> 
Well at the very least you'll need your app's deploy.rb. Capistrano won't touch 
your rails app yourself. On one app I work on the deploy scripts are in a 
separate repository - I could deploy the app without having the application 
itself checked out

Fred

> And if you have working config/deploy.rb.
> Please, post it here.
> Thanks for help.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to