Upgrading Airnotifier: Difference between revisions
From MoodleDocs
Juan Leyva (talk | contribs) (Created page with "Steps to upgrade - Check that the current branch of the installation is Moodle :git status # On branch moodle - Backup the mondodb databases Applications list database ...") |
Juan Leyva (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
- Check that the current branch of the installation is Moodle | - Check that the current branch of the installation is Moodle | ||
git status | |||
# On branch moodle | # On branch moodle | ||
Line 16: | Line 16: | ||
Pull latest version from git | Pull latest version from git | ||
git pull | |||
Run the upgrade.py script | Run the upgrade.py script | ||
python upgrade.py | |||
[[Category: Mobile]] | [[Category: Mobile]] |
Revision as of 09:05, 12 May 2014
Steps to upgrade
- Check that the current branch of the installation is Moodle
git status # On branch moodle
- Backup the mondodb databases
Applications list database
mongodump -h localhost --port 27017 -d airnotifier -o /var/airnotifier/
Each application database
mongodump -h localhost --port 27017 -d commoodlemoodlemobile -o /var/airnotifier/ mongodump -h localhost --port 27017 -d commoodlemoodlemobiletest -o /var/airnotifier/
Pull latest version from git
git pull
Run the upgrade.py script
python upgrade.py