Trying Out the Google App Engine
Maybe this is implicit for all hardened Pythoners, but for the uninitiated, using Python with Windows seems to be more of a struggle than it might otherwise be (I know, I should revive my Linux partition -- but what about everyone else?).
So here for other pilgrims --
I'm still suspicious about "C:\Program Files" in the path of any application -- although the problem seems to be that you probably need to open a command line window (thats choose Start then Run then type cmd and click OK)
and type python before anything in the App Engine documentation (assumes C:\Python25 in your path, if this doesnt make sense, G help you and run away, dont walk )
eg
google_appengine/dev_appserver.py helloworld/
becomes
C:\Google:\>python google_appengine/dev_appserver.py helloworld/
simple, and possibly obvious, but it wasnt to me, so for anyone else out there struggling.
So I got it working, although as I had Ruby on Rails using port 8080 I had to stick in --port=8000 in the middle, fortunately nothing else was using that port
C:\Google:\>python google_appengine/dev_appserver.py --port=8000 helloworld/
A common-sense approach to Big Data
12 years ago
No comments:
Post a Comment