Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Atlas7/0094dce7e98f0263cca6 to your computer and use it in GitHub Desktop.
Save Atlas7/0094dce7e98f0263cca6 to your computer and use it in GitHub Desktop.
Udacity - Web Development - Install Google App Engine

Follow this Udacity Instruction to put create a simple web app via Google App Engine.

Youtube Link here.

Install the Python App Engine SDK (for Mac, in my case).

After installation some new symbolic links are created under /usr/local/bin - taken a snapshot for future refernce (just in case!)

google_app_engine_mac_symlink.png

In my case, I somehow got errors at the deployment stage - I seem to have errors when deploying from the Google App Engine Launcher from my Mac.

So I turned to this alternative Hello World tutorial instead (took 5 minutes to do) - and it works.

Deployed to: http://encoded-copilot-116822.appspot.com/

Handy GoodAppEngine commands

if the project folder helloworld is stored at /User/Johnny/, then just navigate to /User/Johnny/, and issue followings to test and/or deploy.

To test:

dev_appserver.py helloworld/

(This will enable you to view on localhost. Port numbers will be given in console when you run the command).

To deploy:

Ensure you create a project up-front via the Google Cloud Platform console. Get YOUR_PROJECT_ID there.

appcfg.py -A YOUR_PROJECT_ID update helloworld/

The deployed website URL takes the form like this:

http://YOUR_PROJECT_ID.appspot.com

More info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment