Upgrading

 

  1. Back up your database!
  2. Enter your wagn root directory
    By default this is named "wagn".  It should have directories named "app", "config", "lib", etc.
  3. 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
  4. Update your libraries
    bundle install

    For more info see using bundler with wagn.

  5. 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.

  6. Clear your cache
    rake cache:clear
  7. Restart your server
    If you are using the default (built-in) webrick server, you can now start your server with
    env STATIC_ASSETS=true rails server.

 

try it

 

wagneers

intro

videos

features

syntax

weekly calls

ideas

 

twitter

mailing list

 

developers

roadmap

next release

tickets

pack API

REST API

one-pager

 

github

mailing list

 

wagn.org

recent

todo