LoginSignup
2

More than 5 years have passed since last update.

dockerでdjangoの開発環境を作る際のメモ

Posted at

Dockerの勉強をしつつdjangoも触ってみたいなということで
djangoの開発環境をコンテナ化してみました。

自分用に手順をまとめておきます
(内容は随時追記しようと思います)

djangoをdockerコンテナで動かすまで

@amazipanguさんの記事を参考にさせていただきました
https://qiita.com/amazipangu/items/bce228f506f894cd825d

コンテナを作成してからアプリのひな型作成まで

https://djangogirlsjapan.gitbooks.io/workshop_tutorialjp/
django girls tutorialを参考にしました(読んでも何がgirlsなのかわからない)

管理画面にテーブルを追加するところがありますが、(下記URL)
https://djangogirlsjapan.gitbooks.io/workshop_tutorialjp/django_admin/
dockerの場合はコンテナを再起動しないと反映されないみたいです。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2