Hi there,

I've started recently a project where there weren't using any sort of
source control, I've finally convinced the client to setup Git +
Capistrano. I'm wondering what would be the steps to have everything
setup properly. Currently, the app lives in the app folder, but i
guess it should live in [app folder]/current, right? I don't know if
it is relevant, but we are using Ruby Enterprise Edition, with Nginx
and Passenger. Well, those are the steps I think I should follow
(correct me if I'm wrong):

1) Create git folder in the server
2) Copy files from the app folder to the git folder
3) Git init
4) Add git ignores (we have lots of images in production)
5) Git add
6) Git commit
7) Git clone to my machine
8) Capify and setup the capistrano recipe properly
9) Change the virtual host, all the paths should be updated from .../
[app folder]/... to .../[app folder]/current/...
10) Move the app folder temporarily
11) Cap deploy:setup
12) Move the app folder inside current
13) Cap deploy

I guess this should work, right? Of course I'd try it first creating a
staging environment. Also, the images I've ignored in step 4 won't be
lost, will they?

Thanks in advance.
Jordi

-- 
* 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

Reply via email to