kopia lustrzana https://github.com/wagtail/bakerydemo
Add requirements for development
rodzic
cabba04d97
commit
7cf07d4072
|
@ -141,7 +141,7 @@ Now we're ready to set up the bakery demo project itself:
|
|||
cd ~/dev [or your preferred dev directory]
|
||||
git clone https://github.com/wagtail/bakerydemo.git
|
||||
cd bakerydemo
|
||||
pip install -r requirements/base.txt
|
||||
pip install -r requirements/development.txt
|
||||
|
||||
Next, we'll set up our local environment variables. We use [django-dotenv](https://github.com/jpadilla/django-dotenv)
|
||||
to help with this. It reads environment variables located in a file name `.env` in the top level directory of the project. The only variable we need to start is `DJANGO_SETTINGS_MODULE`:
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
-r base.txt
|
||||
black==22.3.0
|
||||
flake8>=3.6.0
|
||||
isort==5.6.4 # leave this pinned - it tends to change rules between patch releases
|
||||
flake8-blind-except==0.1.1
|
||||
flake8-comprehensions==3.8.0
|
||||
flake8-print==2.0.2
|
||||
flake8-assertive==2.0.0
|
||||
curlylint==0.13.1
|
||||
djhtml==1.4.13
|
Ładowanie…
Reference in New Issue