Upgrading
- Back up your database!
- Enter your wagn root directory
By default this is named "wagn". It should have directories named "app", "config", "lib", etc. - Update your source
If you're using git, then go into the wagn directory and type:git pull # if that doesn't work try: git pull git://github.com/wagn/wagn.git # or git pull git://github.com/wagn/wagn.git master
- Update your libraries
bundle install
For more info see using bundler with wagn.
- Migrate your database
rake db:migrate
You may encounter issues if your wagn is badly out of date. If so, we recommend that you do incremental upgrades by updating to each major release. For example, if you encounter issues migrating from 1.5.4 to 1.8.1, try updating first to 1.6, then to 1.7, then to 1.8.1.
- Clear your cache
rake cache:clear
- Restart your server
If you are using the default (built-in) webrick server, you can now start your server withenv STATIC_ASSETS=true rails server.
