简体   繁体   中英

How do i set up an offline environment to test my Google App Engine chat room?

I'll be using the channel API, which will route the messages to a javascript client.

How do I set up the GAE SDK for this, and how do I create a javascript client that can work offline with GAE?

side note: I'm using Ubuntu.

Do you know how to work with GAE and use its SDK?
If yes then just read the Channel API overview here , it has everything you need to get started.
If no then you should read the GAE getting started guide
for python 2.5
for python 2.7
Actually, there is no special thing that you need to set up for Channel API, it works wonderful offline, and it uses the ordinary polling mechanism for simulating the service (the real one doesn't use polling), but of course you must know how to work with the SDK.

Google App Engine Tutorial on Channel API at http://googcloudlabs.appspot.com/codelabexercise4.html . That may help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM