To enable presence manually:

  • Get our website's code (pubnub-api) from github.
  • From the google_app_engine directory in our website's codebase, run the following commands.
  • You should be prompted for your pubnub email and password the first time you run it.


$ /usr/local/bin/ pubnub-prod

App Engine remote_api shell

Python 2.7.2 (default, Jun 20 2012, 16:23:33) 

[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]

The db, users, urlfetch, and memcache modules are imported.

pubnub-prod> import pnconfig

pubnub-prod>  pnconfig.get_api_key("sub-bb904e05-4475-11e2-a47b-0b1fe9b293d3")