OLD | NEW |
(Empty) | |
| 1 Tunes DB |
| 2 ======== |
| 3 |
| 4 server: Tunes DB webapp is a ProtoRPC implementation of a music library. |
| 5 |
| 6 client: A webapp that is a Tunes DB client and user interface. Includes utility |
| 7 for retrieving the Tunes DB service descriptor. |
| 8 |
| 9 Google App Engine |
| 10 ================= |
| 11 |
| 12 For more information about Google App Engine, and to download the SDK, see: |
| 13 |
| 14 http://code.google.com/appengine |
| 15 |
| 16 Running locally |
| 17 =============== |
| 18 |
| 19 ProtoRPC is packaged with the App Engine SDK, but the version shipped |
| 20 may not be the most current version due to the App Engine release |
| 21 schedule. If you'd like to use the most current version of ProtoRPC, |
| 22 you can install it in the tunes_db/client and tunes_db/server |
| 23 directories. |
| 24 |
| 25 For example on a unix-like OS, you could either copy: |
| 26 |
| 27 $ cp -r $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/client |
| 28 $ cp -r $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/server |
| 29 |
| 30 or symlink the directory: |
| 31 |
| 32 $ ln -s $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/client/protorpc |
| 33 $ ln -s $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/server/protorpc |
| 34 |
| 35 |
| 36 Example on a unix-like OS: |
| 37 |
| 38 $ cp -r $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/client |
| 39 $ cp -r $PROTORPC/python/protorpc $PROTORPC/demos/tunes_db/server |
| 40 |
| 41 To run this demo locally, you need to run two instances of the Google App |
| 42 Engine dev-appserver, one for the server and the other for the client. The |
| 43 server must be run on port 8082. |
| 44 |
| 45 Example on a unix-like OS: |
| 46 |
| 47 $ python $GAE_SDK/dev_appserver.py --port 8080 $PROTORPC/demos/tunes_db/client
& |
| 48 $ python $GAE_SDK/dev_appserver.py --port 8082 $PROTORPC/demos/tunes_db/server |
OLD | NEW |