281
edits
No edit summary |
|||
Line 12: | Line 12: | ||
Next thing you need to do is create a project at [https://console.developers.google.com/project Google Cloud Console]. It is pretty straigtforward, after you will choose project name you will get a new Project ID (please remember it or write it down, you will need it later in this tutorial). | Next thing you need to do is create a project at [https://console.developers.google.com/project Google Cloud Console]. It is pretty straigtforward, after you will choose project name you will get a new Project ID (please remember it or write it down, you will need it later in this tutorial). | ||
[[File:Gcproject.png|border|Creating new Google Cloud Project]] | |||
We are slowly moving forward to the end. Now you need to create a folder anywhere called e.g. ''My Project''. Under this folder create a next folder with your files, e.g. ''myfolder'' and put your static files (web albums, web mirrors, whatever you need under it) there. In your main folder (e.g. ''My Project'' or whatever you used earlier) create the following file called ''app.yaml''. | |||
<syntaxhighlight> | |||
application: ''your-application-id'' | |||
version: 0-1-test | |||
runtime: python27 | |||
api_version: 1 | |||
threadsafe: false | |||
handlers: | |||
- url: /''myfolder'' | |||
static_dir: ''myfolder'' | |||
login: admin | |||
secure: always | |||
</syntaxhighlight> |