This is what I did to switch
1. first backup old directory. To be safe, also back up your database
(should not be necessary, but you never know)
2. get a copy of the repository using
git clone git://github.com/bsag/tracks.git tracks
this will drop all files in the subdirectory tracks from where you
executed the git command
3. copy over database.yml from your old install to the new tracks/config
4. regenerate environment.rb because of the rails2.1 migration: set your
salt and choose a timezone
5. copy over your logs from the old install if you like to keep them or
create a new log directory (from your new tracks directory run 'cp -R
log.tmpl log')
Start tracks as usual from the new tracks directory
If you want to update to the latest repository, just run
git pull
Good luck,
Reinier
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] [mailto:tracks-
> [EMAIL PROTECTED] Namens Jason Penney
> Verzonden: donderdag 19 juni 2008 22:15
> Aan: [EMAIL PROTECTED]
> CC: [email protected]
> Onderwerp: Re: [Tracks-discuss] Tracks moves to GitHub
>
> Hey there,
>
> I've been running tracks trunk out of svn for some time. What's the
> best way to change over to git at this point? Can I 'git' on top of it
> and just happily keep going as I was? (I've never used git, but I sure
> was relieved to see that its installed in my hosting account).
>
> Jay
>
> --
> Jason Penney ([EMAIL PROTECTED])
> http://JasonPenney.net/
_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss