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. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2011-Nov-19 21:48 UTC
Re: Explain noob how deploy with ''capistrano'' through :git
On 19 Nov 2011, at 19:54, Nikolay <itsnikolay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Possibly Parallel Threads
- Deploy with Capistrano. Bundle install freezes indefinetly.
- Unicorn doesn't play nice with Capistrano deployment?
- Unicorn fails to restart gracefully on capistrano deploy
- Deploying without capistrano, using git pull?
- Capistrano deploy without irs_process_scripts