-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(1)Herokuデプロイ #9
Comments
こんなのもありました。 FastAPI+Postgres on Heroku |
このコードをベースにする方がよいかもしれません。 |
Closed
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ゴール
Herokuデプロイする
やること
こちらを参考に、Procfile
ファイルと、runtime.txt
ファイルを作成してください。runtime.txt
ファイルに記載するバージョンはローカル環境と合わせてください。Docker環境に接続し、pip freeze > requirements.txt
とコマンドを実行し、ライブラリをファイル出力してください。heroku.yml
を作成してください。参考
HerokuにPython(FastAPI)アプリをデプロイする手順
※こちらはgithub連携を行わず、Herokuのgitを使用しているため、デプロイの部分のみ下記のページ参照
HerokuでGitHub連携設定
CORS設定(公式ページ)
UUIDの自動生成
The text was updated successfully, but these errors were encountered: