I might set the expiration a little shorter. 30 days means if you have an
index.html as your root you can only change it once a month J

Something like 1h would be better. and 5m should do you.

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Calvin
Sent: Wednesday, March 16, 2011 12:25 PM
To: [email protected]
Subject: [google-appengine] Re: app for static html pages

 

I accidentally started a whole nasty thing the last time I tried to help
someone with this.  I hope it goes better this time.

 

1. Get the App Engine Launcher for Python for your platform (and set it up).

http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Py
thon

2. Create a new site in that tool

3. Replace the app.yaml it created with this one:

https://gist.github.com/873098

4. create a folder called "static" and put your site into there. The folder
"static" will not be part of the serving path for your files, it is just a
convenient way to separate static files from python files and templates
(which you don't have).

5. (optional) test your site locally.

6. Upload site to app engine

http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Uploa
ding_the_App

 

I've tested this solution by serving a copy of the python html
documentation, so it definitely works for serving html and images.  You'll
have to figure out the remaining details by reading the App Engine
documentation.

-- 
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to