deployment problems
|
|
I posted about subversion but then i saw a good link from your wiki and did the step but I still don’t understand why it is not working -on my computer i have -then i upload the Allapp to my subversion on brigthbox -on my computer - I type “brightbox -i MYACCOUT-001.vm.brightbox.net . -a mongrel” - Finally I type cap deploy:initial at then end i see on my server three folder but MYAccount folder does not contain my app, just 2/3 folder plus a yml config folder I don’t know where I go wrong thanks for the help so far! |
|
|
Hi, maybe someone can clarify this I re-did my steps on my Windows command prompt I do C:> brightbox -i MYACCOUNT-001.vm.brightbox.net -a mongrel -n myNewApp C:\Ruby\myNewApp then c:> cd C:\Ruby\myNewApp c:\Ruby\myNewApp > cap deploy:initial (then something happens) Are those the correct step, because I still can’t find anything any folder, except i see on my server any help would be really nice! |
|
|
@ant284 Can you clarify this step: “then i upload the Allapp to my subversion on brigthbox” Are you committing the code to subversion via svn+ssh? What happens if you type:
|
|
|
Hi |
|
|
hi, so does cap deploy:initial transfer all the files from my home computer director to brightbox directory?? or should I put my app to svn then export it… |
|
|
ant284 By default If you can perhaps let us know what failure message is for Capistrano then it might help us to diagnose. If you have to paste lots of text then try just posting back with a Pastie link. |
|
|
that is what I thought, initially I think maybe the problems comes from my computer |
|
|
Hi, you can view the cap deploy:initial here thank you |
|
|
Guess you’ve sorted by now.. but in case others read it.. I found that if you are using Windows you don’t want Cap to deploy from your local copy (it gets the directory slashes wrong and falls over). Instead check in the code to svn and run the deployment via checkout. This is done in the deploy.rb. |
|
|
Hi Rob5, Could you please explain this clearly? I have same problem when deploying the code from windows client to Brightbox server. Thanks in advance Regards, |
|
|
Hi Ant Are you able to get through this? if yes, Could you please tell me the process clearly? Thanks in advance Regards, |
|
|
Hi, this is a bug in Capistrano’s windows support. Have you tried using the very latest capistrano, 2.5.17? See if that fixes your local deployment problem. If this still isn’t fixed, as rob5 said, a workaround is to use git or svn deployment – not the “local” deploy (which uses the xcopy command and gets it wrong). Put your code in an svn or git repository and deploy from that to your server. John. |