284
edits
Line 18: | Line 18: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
application: | application: your-application-id | ||
version: 0-1-test | version: 0-1-test | ||
runtime: python27 | runtime: python27 | ||
Line 25: | Line 25: | ||
handlers: | handlers: | ||
- url: / | - url: /myfolder | ||
static_dir: | static_dir: myfolder | ||
login: admin | login: admin | ||
secure: always | secure: always | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Now there is a simple last step to upload everything you need. It is just pretty straightforward if you follow Google App Engine [https://developers.google.com/appengine/docs/python/gettingstartedpython27/uploading documentation]. | |||
<syntaxhighlight lang="bash"> | |||
gcloud auth login | |||
appcfg.py update "My Project/" | |||
</syntaxhighlight> | |||
Wow, you done it :-) Last thing you need to do is to visit your site. Just type ''https://your-application-id.appspot.com/myfolder/myfile.html''. That's it. You should be prompted for login if you are not already logged in with your Google Account. |