Diff for "QA/OopsToolsSetup"

Not logged in - Log In / Register

Differences between revisions 1 and 2
Revision 1 as of 2011-01-10 19:00:17
Size: 560
Editor: matsubara
Comment:
Revision 2 as of 2011-01-11 19:39:58
Size: 652
Editor: ursinha
Comment: adding link to explain what are migrations
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
If there are changes to the models and/or a new migration has been created then run: If there are changes to the models and/or you need to do data migration (a new [[http://south.aeracode.org/docs/whataremigrations.html | migration]] has been created) then run:

Launchpad oops-tools deployment

To deploy a new version of LP's oops-tools instance:

ssh devpad
sudo su - lpqateam
cd /srv/lp-oops.canonical.com/cgi-bin/lpoops
bzr up

If there are changes to the models and/or you need to do data migration (a new migration has been created) then run:

bin/django migrate

Usually there's no need to restart the service after an update. Oops tools has a monitor.py script (see src/oopstools/monitor.py) which monitors changes to .py files and when there are changes to them, it kills the process and starts a new one.

QA/OopsToolsSetup (last edited 2012-09-21 00:14:34 by lifeless)