Unable to understand a line in Google CodePreview’s README

Posted on

QUESTION :

The README is in Google’s codepreview which uses Google-appengine.

To run the app locally (e.g. for
testing), download the Google App
Engine SDK from http://code.google.com/appengine/downloads.html.
You
can then run the server using

  make serve

I run make serve in my terminal after moving Google-appengine.app to my Application -folder in OS X Leopard.

I get

make: *** No rule to make target `serve'.  Stop.

How can you run the make serve to run the server for Google AppEngine?

ANSWER :

To run a make target you have to be in the same directory as the Makefile, as far as I know. So after you download and extract/mount (I don’t know which SDK you downloaded: Python or Java), cd into the directory with the Makefile and then you can type make server. Then it should work.

I think that may be a menu item within Google-appengine.app. Try running it and poking around in the menus.

Leave a Reply

Your email address will not be published. Required fields are marked *