gitscope
← marzneshin / v0.4.0 / makefile
https://dev.kronoz.win/r/marzneshin.git
makefile · Makefile
Blame Raw
 1
 2start:
 3	alembic upgrade head
 4	python main.py
 5
 6dashboard-deps:
 7	pnpm install --prefix ./dashboard
 8
 9dashboard-build:
10	cd dashboard; VITE_BASE_API=/api/ npm run build --if-present -- --outDir 'dist' --assetsDir 'static'
11
12dashboard-dev:
13	VITE_BASE_API=http://0.0.0.0:8000/api/ npm run dev \
14		--prefix './dashboard/' \
15    	-- --host 0.0.0.0 \
16    	--base /dashboard \
17    	--clearScreen false
18
19dashboard-preview:
20	VITE_BASE_API=http://0.0.0.0:8000/api/ npm run preview \
21		--prefix './dashboard/' \
22    	-- --host 0.0.0.0 \
23    	--base /dashboard \
24    	--clearScreen false
25
26dashboard-cleanup:
27	rm -rf ./dashboard/node_modules/