[LRUG] setup problem

Matthew Rudy Jacobs matthewrudyjacobs at gmail.com
Tue May 18 00:32:55 PDT 2010


The git conversion should be simple.

Just go into the folder and;

$ git init
$ git add .
$ git commit -m "move to git"
$ git remote add origin git at theserver.com:therepo.git
$ git push origin master

regarding the move to Capistrano

I'd be inclined to add a new virtual host temporarily for "test.whatever.com
"
get the config correct
then switch over once you're happy.

Also doing a cap deploy:cold doesn't always go right
so be prepared for some manual intervention

On 18 May 2010 15:23, Jordi Noguera Leon <jordinoguera83 at gmail.com> wrote:

> Hi,
>
> 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?
>
>    1. Copy project directory to git directory
>    2. Create git
>    3. git checkout to my machine (I should be ignoring a folder with lots
>    of images...)
>    4. Capify
>    5. Change virtual hosts (the current app lives in whatever/..., and I
>    guess it should live in whatever/current/...)
>    6. move the app contents somewhere else
>    7. cap deploy:setup
>    8. move the all contents of the app to whatever/current
>    9. cap deploy
>
> Am I missing anything?
>
> Thanks
>  Jordi
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20100518/0cd69f36/attachment-0003.html>


More information about the Chat mailing list