Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

stackoverflow wannabe

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 war
Octocat-spinner-32 README.md
Octocat-spinner-32 build.properties
Octocat-spinner-32 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_EXEC_PATH=/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/

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

Something went wrong with that request. Please try again.