Skip to content

Commit

Permalink
README cleanup, use preview server, update app engine version in config
Browse files Browse the repository at this point in the history
  • Loading branch information
amygdala committed Feb 6, 2014
1 parent da5ae1f commit c9d7e39
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
App Engine Java VM Runtime Websocket Chat
Copyright (C) 2010-2013 Google Inc.
Copyright (C) 2010-2014 Google Inc.

## Sample websocket chat application for use with App Engine Java VM Runtime.

Expand All @@ -8,10 +8,10 @@ JDK 7+ in order to run. This application needs to be deployed to the
[App Engine VM Runtime][1].

Make sure that you are invited to the [VM Runtime Trusted Tester
Program][2], and have downloaded the custom SDK.
Program][2], and have [downloaded the SDK](http://commondatastorage.googleapis.com/gae-vm-runtime-tt/vmruntime_sdks.html).

In order to run this application, you also need to configure the
Compute Engine firewall to allow incoming connection to the port 65080
Compute Engine firewall to allow incoming connections to the port 65080
by default.

Here is how to configure the Compute Engine firewall.
Expand All @@ -26,13 +26,15 @@ Here is how to configure the Compute Engine firewall.

Now you're good to go!

To build, run
To build:

1. Rewrie the value of the `application` element in your `appengine-web.xml`.
1. Rewrite the value of the `application` element in your `appengine-web.xml` to your app id.
2. Run `mvn package`
3. Run `appcfg.sh` of the custom SDK as follows.
$ $CUSTOM_SDK_DIR/bin/appcfg.sh update target/websocketchat-1.0-SNAPSHOT
4. Visit http://chat.your-app-id.appspot.com/.
3. Run `appcfg.sh` of the SDK as follows:

$ $SDK_DIR/bin/appcfg.sh -s preview.appengine.google.com update target/websocketchat-1.0-SNAPSHOT

4. Visit `http://chat.your-app-id.appspot.com/`.

For further information, consult the [Java App
Engine](https://developers.google.com/appengine/docs/java/overview)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<properties>
<appengine.app.version>chat</appengine.app.version>
<appengine.target.version>1.8.4</appengine.target.version>
<appengine.target.version>1.8.9</appengine.target.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down

0 comments on commit c9d7e39

Please sign in to comment.