Friday, August 21, 2009

Google App Engine on Windows

I've been doing General Interface development in Windows under Parallels. I've been doing Google App Engine development directly in OS X. I haven't quite figured out how to get them talking to each other. In the meantime, I decided to install GAE on Windows so that the client and the server would be on the same "machine".

It was a pain figuring out how to start the GAE development server. The official documentation makes it sound simple, but in reality it seems very finicky about paths. Here's what is working:

C:\Python25\python "C:\Program Files\Google\google_appengine\dev_appserver.py" --datastore_path=Z:/Users/john_beretz/temp/datastore Z:\Users\john_beretz\Documents\briefcase\Projects\GoogleAppEngine\winenotes

Another quirk: according to the documentation, I should be able to stop the service with Ctrl-C. While that does seem to stop the service, it doesn't do it gracefully: the whole thing just locks up.

No comments: