Skip to content

DjangoのContributionチュートリアルを行う際に作った開発環境

Notifications You must be signed in to change notification settings

Sakaki/django_dev_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Django Contribution チュートリアル開発環境

Django への初めてのパッチを書くに掲載されている環境構築を自動化したものです。

MacやWindowsで環境作るのが辛かったり環境を汚したくない場合とかに使ってください。

起動

あらかかじめチュートリアルに従って、自身のアカウントにdjangoのリポジトリをフォークしておいてください。

git clone https://github.com/Sakaki/django_dev_tutorial.git
cd django_dev_tutorial
docker build -t "django-dev" --build-arg github_account=[GitHubのアカウント名] .
docker run -it --rm django-dev

テスト

pip install -r /django/tests/requirements/py3.txt
su - test
/django/tests/runtests.py

TODO

  • testユーザーだと pip install がこける問題
  • データの永続化

About

DjangoのContributionチュートリアルを行う際に作った開発環境

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published