mirror of
https://github.com/bugsink/bugsink.git
synced 2026-02-19 21:09:26 -06:00
in development: env-level configuration of the NPM_BIN_PATH
As asked by @anime-shed on #78
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user