⇤ ← Revision 1 as of 2011-01-10 19:00:17
560
Comment:
|
652
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.