Contents

Custom Domains

Google allows for GAE apps to be available at custom domains. Sign into admin.google.com, add a new domain, verify ownership. Then add a new GAE app and add new URL to app. Also need to add cname record at registrar for that URL which allows app to be hosted at custom domain.

But naked domains aren't allowed. So while the app can be served from www.madowatt.in or global.madowatt.in, the app can't be served from madowatt.in. To get around this, forward naked domain to appid.appspot.com at registrar using URL Masking/Stealth Redirection/URL Hiding and Path Forwarding enabled. To confirm this difference, compare the traceroute to the two URLs.

Run

  • ~/dev/go_appengine/goapp serve spvfree/
  • ~/dev/go_appengine/dev_appserver.py --skip_sdk_update_check --host=0.0.0.0 --admin_host=0.0.0.0 spvfree/
  • ~/dev/go_appengine/goapp deploy spvfree/
  • ~/dev/go_appengine/appcfg.py -v --no_cookies --noauth_local_webserver -e update //no_cookies to ignore ~/.appcfg_oauth2_tokens

Datastore

The datastore doesn't allow nested slices.

Requests

DELETE requests can't have anything in the body of the request. GAE will return 400 Bad Request even before the request gets to your app.