[tor-commits] [flashproxy/master] Add App Engine howto.

dcf at torproject.org dcf at torproject.org
Mon May 20 07:32:06 UTC 2013


commit 5643376fd56bd0b7ff76fbd02c7d80a4367e26af
Author: David Fifield <david at bamsoftware.com>
Date:   Sun May 19 18:15:57 2013 -0700

    Add App Engine howto.
---
 doc/appengine-howto.txt |   51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/doc/appengine-howto.txt b/doc/appengine-howto.txt
new file mode 100644
index 0000000..3fc9e9f
--- /dev/null
+++ b/doc/appengine-howto.txt
@@ -0,0 +1,51 @@
+These are instructions for how to set up a Google App Engine application
+to run at appspot.com.
+
+General links:
+https://developers.google.com/appengine/
+https://developers.google.com/appengine/docs/whatisgoogleappengine
+https://developers.google.com/appengine/docs/go/gettingstarted/
+
+You first need to create a Google account. See gmail-howto.txt for how
+to do that.
+
+Download the SDK:
+https://developers.google.com/appengine/docs/go/gettingstarted/devenvironment
+
+Write your program and app.yaml file:
+https://developers.google.com/appengine/docs/go/gettingstarted/helloworld
+
+When you're ready to upload, log in with your Google account and follow
+the directions:
+https://appengine.google.com/
+https://developers.google.com/appengine/docs/go/gettingstarted/uploading
+
+Enter an application ID and create the application.
+
+Use the appcfg.py program to upload the program. It should look
+something like this:
+
+$ torify ./google_appengine/appcfg.py update myapp/
+07:25 PM Host: appengine.google.com
+07:25 PM Application: application-id; version: 1
+07:25 PM
+Starting update of app: application-id, version: 1
+07:25 PM Getting current resource limits.
+Email: xxx at gmail.com
+Password for xxx at gmail.com:
+07:26 PM Scanning files on local disk.
+07:26 PM Cloning 2 application files.
+07:26 PM Uploading 1 files and blobs.
+07:26 PM Uploaded 1 files and blobs
+07:26 PM Compilation starting.
+07:26 PM Compilation: 1 files left.
+07:26 PM Compilation completed.
+07:26 PM Starting deployment.
+07:26 PM Checking if deployment succeeded.
+07:26 PM Deployment successful.
+07:26 PM Checking if updated app version is serving.
+07:26 PM Completed update of app: application-id, version: 1
+
+Uploading the program in this way seems to create the files
+~/.appcfg_nag and ~/.appcfg_cookies. Running the update command again
+doesn't require you to enter your password again.





More information about the tor-commits mailing list