django用のPythonのcontanerを用意する
django用のPythonのcontanerを用意する
Pythonのversionに悩んだが最新版にした
https://gyazo.com/2b657559d7fc4dda1bfe886de2566e69
pipでpython libraryを揃える
requirements.txtの作成
$ echo -e 'djangorestframework\nmysqlclient' > requirements.txt
pipでinstall
$ pip install -r requirements.txt
pip freezeで依存関係を固定したファイルを作成
$ pip freeze > requirements.lock
devcontainerの編集
rebuildをクリック
https://gyazo.com/8e8de9818952ef95f4682c49b1d4f5ce
自動でpreinstallされた!すご
https://gyazo.com/931d220ad9ca0e2cca6a7931432f1803