Disclaimer: I already asked here, but apparently off-topic.
I want to set up a page using this bootstrap template and host it as a static website using the google appengine service.
Inside the google_appengine directory, I created a folder page with the page data and the app.yaml:
- google_appengine [folder]
- ...
- dev_appserver.py
- appcfg.py
- ...
- page [folder]
- app.yaml
- public [folder]
app.yaml has this as a content:
application: coolmoon
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /(.+)
static_files: public/\1
upload: public/(.*)
- url: /
static_files: public/index.html
upload: public/index.html
skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?tests$
- ^(.*/)?test$
- ^test/(.*/)?
- ^COPYING.LESSER
- ^README\..*
- \.gitignore
- ^\.git/.*
- \.*\.lint$
- ^fabfile\.py
- ^testrunner\.py
- ^grunt\.js
- ^node_modules/(.*/)?
When I'm inside the google_appengine folder and I run
python dev_appserver.py page
I get the error message
Traceback (most recent call last): File "dev_appserver.py", line 82,
in <module>
_run_file(__file__, globals()) File "dev_appserver.py", line 78, in _run_file
execfile(_PATHS.script_file(script_name), globals_) File "/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
line 943, in <module>
main() File "/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
line 936, in main
dev_server.start(options) File "/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/devappserver2.py",
line 695, in start
options.config_paths) File "/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/application_configuration.py",
line 617, in __init__
config_paths = self._config_files_from_paths(config_paths) File "/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/application_configuration.py",
line 682, in _config_files_from_paths
self._config_files_from_dir(path) if os.path.isdir(path) else [path]) File
"/home/bogus/webpage/google_appengine/google/appengine/tools/devappserver2/application_configuration.py",
line 710, in _config_files_from_dir
(dir_path, or_web_inf)) google.appengine.tools.devappserver2.errors.AppConfigNotFoundError:
"page/" is a directory but does not contain app.yaml or app.yml
but app.yaml is definitely inside the folder page
What is going wrong?
Is my command correct?
Why not use Amazon S3 or a similar service? It is more geared towards this sort of thing.