Posts

Showing posts with the label Site

Hosting A Static Website In Google App Engine - Eclipse, Java

A few months ago, I played around with Google app engine. Somebody asked to set up a personal website which is nothing but a collection of static pages, images and JS widget to do a carousel/gallery. I tried my hand at Google app engine. In another instance, I hosted Google Course Builder on app engine. In both instance, my experience is smooth. Used Google app engine launcher.  Configured .yaml file (Replace application name with the unique application name you set up on google.)What if you want to setup your site using Java on AppEngine. Generally, java developers start with Eclipse. Generally, we follow the tutorial by Google.  https://cloud.google.com/appengine/docs/java/gettingstarted/introduction The question is how to put our static files on AppEngine and point index.html as the startup page. Answer - include static file location to app-webengine.xml.  In this case I created "static" folder under war folder. Also, set the expiration date. Using this setting, s...