diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 87457a8..44f966e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,7 +18,8 @@ Code contributions are welcome! We use the GitHub PR process to review and merge #### Tailwind -Bugsink uses tailwind for styling. +Bugsink uses tailwind for styling, and [django-tailwind](https://github.com/timonweb/django-tailwind/) +to "do tailwind stuff from the Django world". If you're working on HTML, you should probably develop while running the following somewhere: diff --git a/bugsink/settings/development.py b/bugsink/settings/development.py index b6b23dc..5e79221 100644 --- a/bugsink/settings/development.py +++ b/bugsink/settings/development.py @@ -167,3 +167,6 @@ LOGGING["loggers"]["snappea"]["level"] = "DEBUG" LOGGING["formatters"]["snappea"]["format"] = "{asctime} - {threadName} - {levelname:7} - {message}" ALLOWED_HOSTS = deduce_allowed_hosts(BUGSINK["BASE_URL"]) + +# django-tailwind setting; the below allows for environment-variable overriding of the npm binary path. +NPM_BIN_PATH = os.getenv("NPM_BIN_PATH", "npm")