Explain noob how deploy with 'capistrano' through :git

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)?
  2. Should I have project on my local machine to deploy on the server
    machine thought git?

And if you have working config/deploy.rb.
Please, post it here.
Thanks for help.

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

  1. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs