running Google Apps Engine in Ubuntu

The google code documentation seems more oriented to windows and mac users.

If you get this error while trying to start the development server like !is fully explained here or in the documentation

dev_appserver.py [options]

and you get an error message like


-su: dev_appserver.py: command not found

don’t despair.
Here is the solution

root@valugi-laptop:/home/path/to/google_appengine# python dev_appserver.py /home/path/to/google_appengine/myApp/

Where myApp is your test application and /path/to/etc the path to your engine and test application.

In short:


$ python dev_appserver.py [options]

In Linux you have to tell to Python to execute a python file. I wish somebody told me before :)

At least we have a community who helps the apprentices. Help can be found here.


About this entry