Skip to content
deldotdr edited this page Sep 13, 2010 · 3 revisions

How to set it up (adapted from Sympy-live README):

App Engine SDK

Download and unpack the google app engine SDK from
http://code.google.com/appengine/downloads.html:


$ unzip google_appengine_1.1.9.zip

then:

Install Codenode and Configure App Engine Kernel


$ git clone git://github.com/codenode/codenode.git 
$ cd codenode
$ sudo python setup.py install
$ cd examples/appengine_kernel

Now, edit the app.yaml file; change the “application” name to the name of your App Engine app [your_app_name].

Optional:

If you want to include any python packages, like sympy for instance, place a copy of the package in the appengine_kernel directory.
Then edit the main.py file to import that package into the name space. The import for sympy is commented on Line 40 of main.py.

How to upload to google app engine:

You will be asked to enter your google App Engine credentials for this step.


$ /path/to/appcfg.py update .

Create a codenode project dir. Start Codenode Frontend


$ codenode-admin init -name mycodenode
$ cd mycodenode

Start codenoded, and point it to your App Engine url:


twistd -n codenoded -k "http://[your_app_name].appspot.com" -q 80 --kernel_service="appengine" --env_path=$PWD

The ‘-n’ means no daemon. To daemonize codenoded, simply omit the ‘-n’ flag.

Now, open your browser to localhost:8000, and you will be running notebooks on your App Engine remote kernel!

Clone this wiki locally