Skip to content
train07 edited this page Feb 6, 2012 · 11 revisions
  1. Switch to the STABLE branch - git checkout stable

  2. Make sure your branch is up-to-date - git pull origin stable

  3. Open util/consts.py. Scroll to the bottom of the file. Ensure that local_consts are commented off.

  4. Open up the GAE admin panel to Versions.

  5. Open up app.yaml. Application should be 'social-referral'. Version should be 1 larger than the current live version. ie. if you are using 7-56 in the GAE Admin Panel, your app.yaml should say 7-57.

  6. DEPLOY! Watch the logs to make sure it all worked properly. If GAE complains that you've reached the max # of versions, go into the GAE Admin Panel and delete the oldest version. Redeploy.

  7. Your code isn't live - take a break and relax.

  8. Ready to turn it on? Refresh your Version page and turn it on.

  9. Watch the error logs to see if anything breaks. If it does, switch back to the older Version IMMEDIATELY. Test the new code by visiting a few live sites and playing with the widget. Check error logs. If it looks good, keep the error logs open in a tab and check back every few minutes for edge cases.

  10. Pat yourself on the back. Deployment done.

Clone this wiki locally