Closed unblee closed 7 years ago
ディレクトリ構造を修正した関係で requirements.dev.txt
を開発時に必要なものだけにしたので、開発時は以下の流れでやると綺麗にできると思う
venv
を構築(ここはあとで Makefile
にタスクを書くのをお願いしたいです 🙏 )
pip
で requirements.dev.txt
を指定してホスト環境の venv にインストールmake build && make run
でコンテナを起動
app/requirements.txt
でコンテナ内にパッケージがインストールされるありがとうございます 🙏 🙏 🙏
Makefile
にまとめてmake
コマンドで実行できるようにしたmake
コマンドではここを参考にヘルプコメントを埋め込めるようにした(make help
ormake
コマンドで表示)