The git conversion should be simple.<br><br>Just go into the folder and;<br><br>$ git init<br>$ git add .<br>$ git commit -m "move to git"<br>$ git remote add origin git@theserver.com:therepo.git<br>$ git push origin master<br>
<br>regarding the move to Capistrano<br><br>I'd be inclined to add a new virtual host temporarily for "<a href="http://test.whatever.com">test.whatever.com</a>"<br>get the config correct<br>then switch over once you're happy.<br>
<br>Also doing a cap deploy:cold doesn't always go right<br>so be prepared for some manual intervention<br><br><div class="gmail_quote">On 18 May 2010 15:23, Jordi Noguera Leon <span dir="ltr"><<a href="mailto:jordinoguera83@gmail.com">jordinoguera83@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi, <div><br></div><div>I'm working in a project where there wasn't any kind of source control, I've finally convinced my client to use Git + Capistrano. What steps should I follow to setup this properly?</div>
<div><ol><li>Copy project directory to git directory</li><li>Create git</li><li>git checkout to my machine (I should be ignoring a folder with lots of images...)</li><li>Capify</li><li>Change virtual hosts (the current app lives in whatever/..., and I guess it should live in whatever/current/...)</li>
<li>move the app contents somewhere else</li><li>cap deploy:setup</li><li>move the all contents of the app to whatever/current</li><li>cap deploy</li></ol><div>Am I missing anything?</div><div><br></div><div>Thanks</div>
<div>
Jordi</div></div>
<br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br>