Skip to content

Commit 37f75d9

Browse files
committed
minor changes
1 parent 4bcfa7f commit 37f75d9

File tree

4 files changed

+12
-1969
lines changed

4 files changed

+12
-1969
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ dist
268268
# static
269269
static/admin/*
270270
static/CACHE/*
271+
static/css/*
271272
static/images/*
273+
static/debug_toolbar/*
272274
static/modules/*
273275
!static/src/**
276+
static/src/output.css

Makefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@ migrate:
1515
runserver:
1616
pipenv run python manage.py runserver
1717

18-
run-gunicorn:
18+
tailwind:
19+
npx tailwindcss -i ./static/src/input.css -o ./static/css/output.css
20+
21+
run-gunicorn: tailwind
1922
pipenv run gunicorn webserver.wsgi
2023

21-
tailwind-run:
22-
npx tailwindcss -i ./static/src/input.css -o ./static/src/output.css --watch
24+
tailwind-watch:
25+
npx tailwindcss -i ./static/src/input.css -o ./static/css/output.css --watch
2326

24-
local:
25-
make -j 2 tailwind-run runserver
2627
.PHONY: local
28+
local:
29+
make -j 2 tailwind-watch runserver

0 commit comments

Comments
 (0)