aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevendra2015-07-28 18:33:38 +0530
committerDevendra2015-07-28 18:33:38 +0530
commit89241d42a4e7295567446e0d30e22985bc574714 (patch)
tree072a5bd4a63182004fb8eaa7cd4925a1ecc29d4b
parentac2cdedc45a07b1765366bf0295073294ab48b8c (diff)
downloadpubnub-python-89241d42a4e7295567446e0d30e22985bc574714.tar.bz2
gae docs
-rw-r--r--gae-vm.asciidoc34
1 files changed, 34 insertions, 0 deletions
diff --git a/gae-vm.asciidoc b/gae-vm.asciidoc
new file mode 100644
index 0000000..55eaa5e
--- /dev/null
+++ b/gae-vm.asciidoc
@@ -0,0 +1,34 @@
+
+= Using PubNub Python SDK on GAE managed vm
+
+Pubnub python sdk has dependency on pycrypto module. To have pycrypto installed on
+managed vm, add following lines to your Docker file.
+
+```
+ RUN apt-get update
+ RUN apt-get -y install python-crypto
+```
+
+ To include pubnub in your application, you can use vendoring defined here
+https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring
+
+Create a directory lib in your application root
+
+```
+mkdir lib
+```
+
+create (or modify) appengine_config.py in root of project, and add
+
+```
+from google.appengine.ext import vendor
+
+# Add any libraries installed in the "lib" folder.
+vendor.add('lib')
+```
+
+Then run
+
+```
+pip install -t lib pubnub
+```