poetry は requirements.txtの 出力のみに利用する
$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -FIXME: poetry の virtualenv の環境を指定して実行する方法が分からないので
Git Repository に接続するための鍵を配置する.
画面左端の Source Control か, terminal でプロジェクトを Clone する.
$ git clone https://github.com/lulichn/fastapi-sample.git$ poetry export -f requirements.txt > requirements.txt
$ pip3 install -r requirements.txthttps://github.com/lulichn/fastapi-sample#local-development
main.py を開き, メニューから Run -> Run With -> Python3
失敗するので, CWD を指定して再実行する.
FIXME: 開発中のディレクトリを既定のWorking Dirに設定するなどできないか?
メニューから Preview -> Preview Running Application
NOTE: AWS Cloud9 Integrated Development Environment (IDE) で実行中のアプリケーションのプレビュー
$ pip3 install ikp3db起動オプションでデバッグを有効にする.
if __name__ == "__main__":
uvicorn.run(app, port=8080, debug=True)虫マークを有効にする.
Breakpointを設定し動作することを確認する.



