diff --git a/.github/workflows/run_djlint.yml b/.github/workflows/run_djlint.yml index 1fd4f4e3..4e202d04 100644 --- a/.github/workflows/run_djlint.yml +++ b/.github/workflows/run_djlint.yml @@ -49,14 +49,9 @@ jobs: if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --only dev --no-interaction --no-root #---------------------------------------------- - # install your root project, if required - #---------------------------------------------- - - name: Install library - run: poetry install --no-interaction - #---------------------------------------------- # add matrix specifics and run lints #---------------------------------------------- - name: Run Lint run: | source .venv/bin/activate - poetry run djlint ./frontend/templates/ --check --profile=django \ No newline at end of file + poetry run djlint ./frontend/templates/ --check --profile=django diff --git a/docs/getting-setup/other-environments/README.md b/docs/getting-setup/other-environments/README.md index f18e7e5c..be5d2501 100644 --- a/docs/getting-setup/other-environments/README.md +++ b/docs/getting-setup/other-environments/README.md @@ -6,7 +6,7 @@ [Install Poetry](https://python-poetry.org/docs/#installing-manually) ```bash -poetry install +poetry install --no-root ``` 4. [Setup our frontend (click to view guide)](getting-setup/other-environments/frontend) @@ -20,4 +20,4 @@ npm run tailwind-build ```bash python manage.py runserver -``` \ No newline at end of file +``` diff --git a/docs/getting-setup/other-environments/django.md b/docs/getting-setup/other-environments/django.md index 478c2987..3e8fd625 100644 --- a/docs/getting-setup/other-environments/django.md +++ b/docs/getting-setup/other-environments/django.md @@ -6,7 +6,7 @@ using `python poetry` [click here for installation guide](https://python-poetry.org/docs/#installing-manually) ```bash -poetry install +poetry install --no-root ``` 2. Setup your database [(click to view our guide)](getting-setup/databases/) @@ -27,4 +27,4 @@ python manage.py createsuperuser ```bash python manage.py runserver -``` \ No newline at end of file +``` diff --git a/docs/getting-setup/pycharm/django.md b/docs/getting-setup/pycharm/django.md index c4b599ee..a1775c4b 100644 --- a/docs/getting-setup/pycharm/django.md +++ b/docs/getting-setup/pycharm/django.md @@ -45,7 +45,7 @@ and run server. For more details, view the page for your environment below
-!> Before continuing, please install all of our dependencies via `poetry install`" +!> Before continuing, please install all of our dependencies via `poetry install --no-root`" 9. To refresh the cache, go back to settings, project, and interpreter and install "Django" if not already there @@ -70,4 +70,4 @@ and run server. For more details, view the page for your environment below -12. Setup your database [(click to view our guide)](getting-setup/databases/) \ No newline at end of file +12. Setup your database [(click to view our guide)](getting-setup/databases/) diff --git a/docs/how-to-contribute.md b/docs/how-to-contribute.md index a6d80b5b..438e0213 100644 --- a/docs/how-to-contribute.md +++ b/docs/how-to-contribute.md @@ -41,7 +41,7 @@ completely fine! Just make sure that you put in your PR that tests are still req ```bash ### first time setup pip install poetry # installs poetry -poetry install --with dev # installs djlint and black +poetry install --no-root --with dev # installs djlint and black ### tests python manage.py test --parallel # runs our django tests djlint ./frontend/templates --reformat # runs our djLint formatter for HTML @@ -68,4 +68,4 @@ That's about it! If you struggle at any parts, and just need a bit of support yo our [discord server](https://discord.gg/YDQq2uc2ap) or create a PR and mention that you need help. -Good luck! Have fun, don't stress if you need to take a break or need help, just speak to us! \ No newline at end of file +Good luck! Have fun, don't stress if you need to take a break or need help, just speak to us!