chore(dev): add make docs target for VitePress dev server
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: help services services-stop api app portal
|
||||
.PHONY: help services services-stop api app portal docs
|
||||
|
||||
# Colors
|
||||
GREEN := \033[0;32m
|
||||
@@ -20,6 +20,7 @@ help:
|
||||
@echo " make api Laravel API → http://localhost:8000"
|
||||
@echo " make app Organizer SPA → http://localhost:5174"
|
||||
@echo " make portal Portal SPA → http://localhost:5175"
|
||||
@echo " make docs VitePress docs → http://localhost:5176"
|
||||
@echo ""
|
||||
@echo " $(YELLOW)Database:$(NC)"
|
||||
@echo " make migrate Run migrations"
|
||||
@@ -56,6 +57,10 @@ portal:
|
||||
@echo "$(GREEN)Starting Portal SPA → http://localhost:5175$(NC)"
|
||||
@cd apps/portal && pnpm dev
|
||||
|
||||
docs:
|
||||
@echo "$(GREEN)Starting VitePress docs → http://localhost:5176$(NC)"
|
||||
@cd docs && npm run docs:dev
|
||||
|
||||
migrate:
|
||||
@cd api && php artisan migrate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user