Add requirements for development

pull/352/head
Sage Abdullah 2022-07-26 10:17:09 +07:00 zatwierdzone przez Karl Hobley
rodzic cabba04d97
commit 7cf07d4072
2 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -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`:

Wyświetl plik

@ -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