El Dorado

A full-stack community web application written in Ruby/Rails
updating to latest from github « El Dorado « almost effortless
 
Sat, 13 Sep 2008, 1:19pm #1
auswalk
New member
Registered: Sep, 2008
Last visit: Sat, 15 Nov 2008
Posts: 3

I downloaded the tarball, but for future updates what's the best way to stay current. Can I simply run:

script/plugin install git://github.com/trevorturk/el-dorado.git

in the app directory?

Offline
Sat, 13 Sep 2008, 4:32pm #2
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 8 hours ago
Posts: 240

No, the best thing would be to clone the git repo on github, deploy from there, and then do "git pull" when you're ready to get the latest updates. If you make any changes in your local copy, you may have to do some merging, but it all depends on how much you change things. I recommend doing any work of yours in a branch.

If you're not familiar with git, the next best thing would be to at least deploy with Capistrano. If you do this and don't make any code changes, you'll always be up to date.

Failing that, if up install from a tarball or zip file, you'll need to watch out for the files in your public directory. You can overwrite the whole app with a new zip or tarball you download, but the folders listed in config/symlinks.yml should be kept. That would be where the files, avatars, etc are uploaded. If you use capistrano, those files would be kept in the shared/system/ folder, so they're out of the way.

Offline
Mon, 15 Sep 2008, 5:35pm #3
auswalk
New member
Registered: Sep, 2008
Last visit: Sat, 15 Nov 2008
Posts: 3

I took the git option. I may add captcha and email validation, if noone else is working on that.

Offline
Mon, 15 Sep 2008, 8:11pm #4
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 8 hours ago
Posts: 240

That would be great. Thank you!

Offline