cost 325 ms
testdriven.io:Celery 和 Django 的權威指南。所有容器日志都是“等待 PostgreSQL 可用...”

[英]testdriven.io: The Definitive Guide to Celery and Django. All containers logs are "Waiting for PostgreSQL to become available..."

我已經按照第 1 部分第 4 章的每個步驟進行操作,並按字面意思復制粘貼了代碼,如圖所示。 docker-compose 能夠構建容器,但我總是從所有其他容器中記錄 Waiting for PostgresSQL to become available ,如下所示。 docker-compos ...

testdriven.io:使用 Django 頻道和 Angular 開發實時出租車應用程序:無法從 gcp 前端注冊

[英]testdriven.io: Developing a Real-Time Taxi App with Django Channels and Angular: unable to sign-up from front end on gcp

我在 GCE VM 上遵循教程https://testdriven.io/courses/real-time-app-with-django-channels-and-angular/並且能夠與前端和 Django 管理員和 API 進行交互。 但是,當我嘗試從 Angular 前端單擊注冊 (ht ...

gitlab-ci.yml 上的 Docker 標記錯誤 25 試圖啟動 GitLab 管道

[英]Docker Tag Error 25 on gitlab-ci.yml trying to start GitLab Pipeline

我正在學習“AWS 上的可擴展 FastAPI 應用程序”課程。 我的 gitlab-ci.yml 文件如下。 我的管道失敗並出現此錯誤: 它可能相關也可能不相關,但 GitLab 項目的容器注冊表說存在 Docker 連接錯誤。 謝謝 ...

github 機密存儲在哪里?

[英]Where are github secrets stored?

我在課程的 CI 部分首先我會說一切都很好,我可以輕松地遵循這個過程。 但是,有些東西可行,我不知道如何。 讓我們來看看 main.yml 文件的這一部分: 我有這些參數,比如 GITHUB_ACTOR 和 GITHUB_TOKEN,我沒有將它們定義為我的代碼的任何部分,或者寫入 github ...

Testdirven.io fastApi課程:第一階段出錯

[英]Testdirven.io fastApi course: error in the first stages

我在 TDD fastapi、docker 和 pytest 課程的第一部分。 我有一個奇怪的問題,我需要你的幫助。 當我創建第一個使用 torotoise 的測試時,它工作正常,將記錄添加到數據庫,並從 fastapi 毫無問題地獲取它。 我添加另一個測試(添加,然后讀取記錄的那個)的那一刻,我收 ...

Testdriven.io:運行 Github Action Test Docker Image 時使用 FastAPI 和 Docker 錯誤的測試驅動開發

[英]Testdriven.io: Test-Driven Development with FastAPI and Docker Error when running Github Action Test Docker Image

我正在學習 Testdriven.io: Test-Driven Development with FastAPI and Docker 課程,目前在持續集成部分。 在本節中,您將使用 github 操作來構建 docker 映像並運行測試和 linting 等等。 在流程的測試 Docker 映 ...

Testdriven.io:嘗試在 conftest.py 中導入應用程序時,使用 FastAPI 和 Docker 進行測試驅動開發時出錯

[英]Testdriven.io: Test-Driven Development with FastAPI and Docker Error when trying to import app in conftest.py

我正在關注 testdriven.io Test-Driven Development with FastAPI 和 Docker 教程,但我被困在 Pytest 設置步驟。 我再次檢查了一遍,看看我遺漏了什么,並繼續做空。 本教程中的代碼示例顯示,在 conftest.py 中,您需要使用以下f ...

TestDriven.io 教程“AWS 上的可擴展 FastAPI 應用程序”:第 1 部分 API 請求通話 Endpont 代碼不起作用

[英]TestDriven.io Tutorial "Scalable FastAPI Applications on AWS": Part 1 API Request a Talk Endpont code doesn't work

我正在學習 TestDriven.io 教程“AWS 上的可擴展 FastAPI 應用程序”。 在第 1 部分“API”一章中,“Request a Talk”-“Endpoint”下的代碼失敗,但未達到預期。 這是頁面的鏈接: https://testdriven.io/courses/scal ...

Uvicorn 突然拋出 500 內部服務器錯誤

[英]Uvicorn suddenly throwing 500 Internal Server error

通過 FastAPI 的測試驅動開發和 Docker 測試驅動點 io 課程,我突然從 Uvicorn 收到 500 個內部服務器錯誤。 我的代碼在 git 中,所以我很確定那里沒有不應該的更改。 任何幫助表示贊賞: 這是來自 docker 容器的堆棧跟蹤: ...

testdriven.io:使用 FastAPI 和 Docker 進行測試驅動開發:Heroku:獲取 asyncpg.exceptions.InvalidAuthorizationSpecificationError

[英]testdriven.io: Test-Driven Development with FastAPI and Docker: Heroku: Getting asyncpg.exceptions.InvalidAuthorizationSpecificationError

我正在學習test-driven.io 的 FastAPI 和 Docker的測試驅動開發課程,並堅持將我的應用程序發布到 heroku(第 2 部分:部署) 在我將圖像發布到 heroku 之前,一切都很好: 然后我檢查了https://APP_NAME.herokuapp.com/ping/端 ...

testdriven.io flask-tdd-docker課程第15章管道階段測試錯誤:作業失敗:退出代碼1

[英]testdriven.io flask-tdd-docker course chapter 15 pipeline stage test ERROR: Job failed: exit code 1

我正在關注 python/flask/docker教程。 一切正常,直到我推送到 GitLab 管道階段構建良好然后在測試階段失敗: 流水線測試日志: 找到了這個但不知道如何解決或者它是否與問題有關。 GitLab Issue中提到的“調整您的閾值或提高覆蓋率”。 我在本地主機上運行測試時沒有收 ...

.dockerignore 被 docker 忽略

[英].dockerignore being ignored by docker compose

我有以下 docker-compose 文件: 在./project 中有一個.dockerignore,用於忽略./project 中的文件。 但是,這些文件不會被忽略。 卷是否有先例並忽略.dockerignore? ./project:/usr/src/app. 如何防止 ./project ...

無法使用 Flask 測試客戶端發送 POST 請求

[英]Unable to send POST request using Flask test client

我正在關注TestDriven.io課程,在設置安靜的路由后,即使在project/api/users.py添加路由處理程序后,我也會遇到此錯誤: 如您所見,錯誤與在此 function 中完成的self.client.post請求有關: 代碼的邏輯和語法中的一切似乎都是正確的,但我無法弄清楚為什么 ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM