pubsubhubbub subscriber with appenginejs!
JavaScript Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
war
README.md
build.properties
build.xml

README.md

Appenginejs Example

A simple Guestbook as an example of a JSGI Web Application powered by appenginejs.

Quick start

Setup the application:

$ export APPENGINE_JAVA_SDK=/path/to/appengine/sdk
$ export GIT_BIN_DIR=/path/to/git/bin/directory

or create a build.properties file with the following contents:

sdk.dir=/path/to/appengine/sdk
git.dir=/path/to/git/bin/directory

initialize the library dependencies:

$ ant init

start the dev server:

$ ant runserver

and browse to http://localhost:8080/

Troubleshooting

If you have problems with the included jsgi.jar, use the ant file java/build.xml to compile a new jar for your system. If you still need help, post a message to the AppengineJS Group at http://groups.google.com/group/appenginejs.

Deploy to App Engine

To deploy to App Engine:

$ /path/to/appengine/sdk/bin/appcfg.sh --email=your.email@account.com update war/

Before deploying you may want to remove excess files from packages. You need to keep the following files:

example/war/WEB-INF/packages/appengine/lib
example/war/WEB-INF/packages/appengine/package.json
example/war/WEB-INF/packages/jack/lib
example/war/WEB-INF/packages/jack/package.json
example/war/WEB-INF/packages/narwhal/engines/default
example/war/WEB-INF/packages/narwhal/engines/rhino
example/war/WEB-INF/packages/narwhal/lib
example/war/WEB-INF/packages/narwhal/local.json
example/war/WEB-INF/packages/narwhal/narwhal.conf
example/war/WEB-INF/packages/narwhal/narwhal.js
example/war/WEB-INF/packages/narwhal/package.json

Support

For questions regarding this example or appenginejs please post to the mailing list: http://groups.google.com/group/appenginejs