Fix make init

This commit is contained in:
2026-06-02 16:32:26 +02:00
parent ad47684dc1
commit 94c3d9050a
4 changed files with 28 additions and 17 deletions
+1
View File
@@ -4,6 +4,7 @@ __pycache__
.venv/
node_modules
package-lock.json
pnpm-lock.yaml
db.sqlite3
data/
/static/
+7 -13
View File
@@ -1,15 +1,14 @@
all: css migrate
initialize: npm css migrate sethookdir loadplatforms
initialize: npm css migrate loadplatforms
HTMLFILES := $(shell find games/templates -type f)
PYTHON_VERSION = 3.12
npm:
npm install
pnpm install
css: common/input.css
npx @tailwindcss/cli -i ./common/input.css -o ./games/static/base.css
pnpm tailwindcss -i ./common/input.css -o ./games/static/base.css
makemigrations:
uv run python manage.py makemigrations
@@ -18,22 +17,17 @@ migrate: makemigrations
uv run python manage.py migrate
init:
uv install $(PYTHON_VERSION)
uv python install $(PYTHON_VERSION)
uv sync
npm install
$(MAKE) sethookdir
pnpm install
$(MAKE) loadplatforms
sethookdir:
git config core.hooksPath .githooks
chmod +x .githooks/*
dev:
@npx concurrently \
@pnpm concurrently \
--names "Django,Tailwind" \
--prefix-colors "blue,green" \
"uv run python -Wa manage.py runserver" \
"npx @tailwindcss/cli -i ./common/input.css -o ./games/static/base.css --watch"
"pnpm tailwindcss -i ./common/input.css -o ./games/static/base.css --watch"
caddy:
+7
View File
@@ -2,27 +2,34 @@
fields:
name: Steam
group: PC
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Xbox Gamepass
group: PC
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Epic Games Store
group: PC
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Playstation 5
group: Playstation
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Playstation 4
group: Playstation
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Nintendo Switch
group: Nintendo
created_at: 2024-01-01T00:00:00Z
- model: games.Platform
fields:
name: Nintendo 3DS
group: Nintendo
created_at: 2024-01-01T00:00:00Z
+11 -2
View File
@@ -1,4 +1,4 @@
/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
@@ -289,7 +289,7 @@
--spacing-8xl: 90rem;
--leading-9: 36px;
--leading-6: 24px;
--leading-none: 1px;
--leading-none: 1;
--leading-5: 20px;
--radius-base: 12px;
--color-body: var(--color-gray-600);
@@ -2696,6 +2696,15 @@
--tw-ease: var(--ease-out);
transition-timing-function: var(--ease-out);
}
.\[program\:caddy\] {
program: caddy;
}
.\[program\:gunicorn\] {
program: gunicorn;
}
.\[program\:qcluster\] {
program: qcluster;
}
.group-hover\:absolute {
&:is(:where(.group):hover *) {
@media (hover: hover) {