Upgrading fulcrum

36 views
Skip to first unread message

Carlos

unread,
Jan 4, 2012, 11:12:25 AM1/4/12
to fulcru...@googlegroups.com
First, thank you for working on this project.  I am currently using fulcrum and it's working well.  I would like to update fulcrum to the latest git commit but I didn't know what I need to do other than pulling in the changes.  Do I need to rerun any DB tasks?  If so, will this affect any data I currently have?  Sorry for what probably is a beginner question, but any help would be greatly appreciated.  I have it running with Mysql as the backend and apache/fusion passenger as the web/app server.

Thanks!

Malcolm Locke

unread,
Jan 4, 2012, 3:25:23 PM1/4/12
to fulcru...@googlegroups.com

You can treat Fulcrum like a typical Rails application, which generally
means you'll need to perform the following tasks:

- Pull the changes
- Run `rake db:migrate RAILS_ENV=production`
- Restart the app, either by restarting Apache or `touch
tmp/restart.txt` within the Fulcrum project directory.

The db:migrate task will make any necessary changes to the database
structure since your last pull, but should leave all the data untouched.
To be safe, ensure you have a full backup of your database and the
files before you begin.

For long term maintenance it's well worth setting up capistrano for your
own deployment environments, it is a little extra leg work to begin with
but simplifies matters in the long run.

Malc

Reply all
Reply to author
Forward
0 new messages