Fix make init
This commit is contained in:
@@ -4,6 +4,7 @@ __pycache__
|
|||||||
.venv/
|
.venv/
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
pnpm-lock.yaml
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
data/
|
data/
|
||||||
/static/
|
/static/
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
all: css migrate
|
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
|
PYTHON_VERSION = 3.12
|
||||||
|
|
||||||
npm:
|
npm:
|
||||||
npm install
|
pnpm install
|
||||||
|
|
||||||
css: common/input.css
|
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:
|
makemigrations:
|
||||||
uv run python manage.py makemigrations
|
uv run python manage.py makemigrations
|
||||||
@@ -18,22 +17,17 @@ migrate: makemigrations
|
|||||||
uv run python manage.py migrate
|
uv run python manage.py migrate
|
||||||
|
|
||||||
init:
|
init:
|
||||||
uv install $(PYTHON_VERSION)
|
uv python install $(PYTHON_VERSION)
|
||||||
uv sync
|
uv sync
|
||||||
npm install
|
pnpm install
|
||||||
$(MAKE) sethookdir
|
|
||||||
$(MAKE) loadplatforms
|
$(MAKE) loadplatforms
|
||||||
|
|
||||||
sethookdir:
|
|
||||||
git config core.hooksPath .githooks
|
|
||||||
chmod +x .githooks/*
|
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
@npx concurrently \
|
@pnpm concurrently \
|
||||||
--names "Django,Tailwind" \
|
--names "Django,Tailwind" \
|
||||||
--prefix-colors "blue,green" \
|
--prefix-colors "blue,green" \
|
||||||
"uv run python -Wa manage.py runserver" \
|
"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:
|
caddy:
|
||||||
|
|||||||
@@ -2,27 +2,34 @@
|
|||||||
fields:
|
fields:
|
||||||
name: Steam
|
name: Steam
|
||||||
group: PC
|
group: PC
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Xbox Gamepass
|
name: Xbox Gamepass
|
||||||
group: PC
|
group: PC
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Epic Games Store
|
name: Epic Games Store
|
||||||
group: PC
|
group: PC
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Playstation 5
|
name: Playstation 5
|
||||||
group: Playstation
|
group: Playstation
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Playstation 4
|
name: Playstation 4
|
||||||
group: Playstation
|
group: Playstation
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Nintendo Switch
|
name: Nintendo Switch
|
||||||
group: Nintendo
|
group: Nintendo
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
- model: games.Platform
|
- model: games.Platform
|
||||||
fields:
|
fields:
|
||||||
name: Nintendo 3DS
|
name: Nintendo 3DS
|
||||||
group: Nintendo
|
group: Nintendo
|
||||||
|
created_at: 2024-01-01T00:00:00Z
|
||||||
+11
-2
@@ -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 properties;
|
||||||
@layer theme, base, components, utilities;
|
@layer theme, base, components, utilities;
|
||||||
@layer theme {
|
@layer theme {
|
||||||
@@ -289,7 +289,7 @@
|
|||||||
--spacing-8xl: 90rem;
|
--spacing-8xl: 90rem;
|
||||||
--leading-9: 36px;
|
--leading-9: 36px;
|
||||||
--leading-6: 24px;
|
--leading-6: 24px;
|
||||||
--leading-none: 1px;
|
--leading-none: 1;
|
||||||
--leading-5: 20px;
|
--leading-5: 20px;
|
||||||
--radius-base: 12px;
|
--radius-base: 12px;
|
||||||
--color-body: var(--color-gray-600);
|
--color-body: var(--color-gray-600);
|
||||||
@@ -2696,6 +2696,15 @@
|
|||||||
--tw-ease: var(--ease-out);
|
--tw-ease: var(--ease-out);
|
||||||
transition-timing-function: var(--ease-out);
|
transition-timing-function: var(--ease-out);
|
||||||
}
|
}
|
||||||
|
.\[program\:caddy\] {
|
||||||
|
program: caddy;
|
||||||
|
}
|
||||||
|
.\[program\:gunicorn\] {
|
||||||
|
program: gunicorn;
|
||||||
|
}
|
||||||
|
.\[program\:qcluster\] {
|
||||||
|
program: qcluster;
|
||||||
|
}
|
||||||
.group-hover\:absolute {
|
.group-hover\:absolute {
|
||||||
&:is(:where(.group):hover *) {
|
&:is(:where(.group):hover *) {
|
||||||
@media (hover: hover) {
|
@media (hover: hover) {
|
||||||
|
|||||||
Reference in New Issue
Block a user