app.yaml

    2热度

    1回答

    我已经从这个google cloud tutorial烧瓶基本python 3教程网站,我能够设置和网站工作得很好。 另外,我还想运行一个python脚本,每天运行一次以收集一些数据,但cron作业不起作用。我还增加了登录:admin限制任何人直接使用该网址 cron.yaml cron: - description: test dispatch vs target url: /cro

    0热度

    1回答

    我一直在尝试将此application_readable: true添加到app.yaml文件,并且出现此错误! Traceback (most recent call last): File "/google/google-cloud-sdk/platform/google_appengine/dev_appserver.py", line 103, in <module>

    0热度

    1回答

    遇到问题基本上我的目录布局看起来是这样的: - demo | + + exmaple1 | | | + index.html | + some-script.js | + + example2 ... 我想实现的是让这样 my.url/demo/example1 shows /demo/example1/index.html my.url/demo/example1/

    0热度

    1回答

    我想在应用引擎上部署完成的web应用(本地运行)。该应用程序没有数据库,网页是静态的。我的主要问题是我尝试部署应用程序,并收到服务器错误。我怀疑问题在于我的app.yaml文件,但我似乎无法修复它。这里是我的XML文件: runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /static stat

    0热度

    1回答

    我试图更好地理解app.yaml。 GCP文档建议您为您的图像处理程序是这样的: # Serve images as static resources. - url: /(.+\.(gif|png|jpg))$ static_files: \1 upload: .+\.(gif|png|jpg)$ application_readable: true 但是我用的

    0热度

    1回答

    我在Google控制台上部署开发的django应用程序时遇到问题。 首先,它将应用程序的所有文件重命名为一些随机名称。另外,当我尝试访问网站.appspot.com时,出现内部错误。 已创建app.yaml文件: # [START runtime] runtime: python27 entrypoint: gunicorn -b :$PORT mysite.wsgi threadsafe:

    2热度

    1回答

    通常,当我对.js或.css文件进行本地更改,然后部署应用程序时,文件将被跳过。这是怎么回事? 例如,假设我编辑: public_html/www/account/dashboard/dashboard.css 当我部署我看到在我的日志: `Skipping upload of [public_html/www/account/dashboard/dashboard.css] 这里是我的app

    0热度

    1回答

    我对Google的Web应用程序Shell感兴趣。我已经下载了它的GitHub。但是我发现整个代码中没有index.html/index.php文件。我主要发现的是许可证文件,app.yaml文件和app.js文件。链接到该页面,是here。 我听说,我可以使用终端在我的网站托管站点安装项目。但终端不适合我的情况。我已停止使用Firebase,因为我必须拥有终端。那么,有没有其他想法在我的网站上安

    0热度

    2回答

    我已经在GAE标准环境中部署了几个PHP应用程序,所有工作都很好。 现在我正在部署一个新应用程序,该应用程序在gcloud SDK提供的本地服务器上按预期工作(终端命令:dev_appserver.py --log_level=warning app.yaml)。 的问题是,当我把它部署到GAE直播服务(gcloud app deploy app.yaml --project myapp),我得到

    1热度

    1回答

    因此,当我尝试部署我的应用程序时,我收到了此。以下是弥补我的应用程序文件: main.py: import webapp2 class MainHandler(webapp2.RequestHandler): def get(self): self.response.write("<h1>Duracron!</h1>") class EventHandler(weba