Skip to content

Commit

Permalink
Added a reference to django-extensions in the installation guide and …
Browse files Browse the repository at this point in the history
…the README.md.
  • Loading branch information
oliverandrich committed Oct 3, 2023
1 parent ceca73a commit 6d2a005
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ The goal of this library is to provided the simplest possible Tailwind integrati

Enjoy!

Checkout the detailed [installation guide](https://django-tailwind-cli.andrich.me/installation/) if you want to activate browser reload or the `runserver_plus` management command known from `django-extensions`.

## Features

- Simplest possible integration.
Expand Down
14 changes: 12 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ hide:
python -m pip install django-tailwind-cli
```

with optional `django-extensions` library to use the `runserver_plus` command.
with optional `django-extensions` and `Werkezeug` libraries to use the `runserver_plus` command.

```shell
python -m pip install django-tailwind-cli[django-extensions]
Expand All @@ -28,6 +28,16 @@ hide:
]
```

If you plan to use the `runserver_plus` command, the changes to `INSTALLED_APPS` looks like that.

```python
INSTALLED_APPS = [
# other Django apps
"django_tailwind_cli",
"django_extensions,
]
```

3. Configure the `STATICFILES_DIRS` parameter in your `settings.py` if not already configured.

```python
Expand All @@ -51,7 +61,7 @@ hide:
```shell
python manage.py tailwind runserver
```

Or

```shell
Expand Down

0 comments on commit 6d2a005

Please sign in to comment.