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