Wikimedia Apps/Team/RESTBase services for apps/Deployment process/Setup notes

Setup
Here are the detailed notes to get ready to update the deployment repo for our mobileapps RESTBase service on a Ubuntu 14.04 box (in a VirtualBox VM):

You may also need to set your email and name in git if you haven't done so. (I'm mentioning it here since I ran into this myself because I was running that in a fresh Ubuntu install inside VirtualBox.) Adjust the values, of course:

The easiest way to install Docker: Then, you need to add your user to the  group, follow the note at the end of the docker commands to do that. In other words: After all of that, reboot your VM. Then, in the repo dir in the VM, type:

Update the deployment repo
You will find the new patch on https://gerrit.wikimedia.org/r/#/projects/mediawiki/services/mobileapps/deploy,dashboards/default:recent.

If something goes wrong you'll need to bring the deploy repo to it original state. Command like these might help: Hint: if the  command fails you can add the   option the next time.