feat(Makefile): add admin console commands to Makefile
feat(README.md): update README to reflect monorepo structure and admin console feat: remove setup_admin_console.sh script The setup_admin_console.sh script is removed because the admin console setup is now integrated into the Makefile. The README is updated to reflect the new monorepo structure and the admin console. The Makefile is updated to include commands for installing, developing, and building the admin console.
This commit is contained in:
13
Makefile
13
Makefile
@@ -122,3 +122,16 @@ install-git-hooks:
|
||||
@ln -sf ../../scripts/git-hooks/pre-push .git/hooks/pre-push
|
||||
@echo "✅ pre-push hook installed successfully. Direct pushes to 'main' and 'dev' are now blocked."
|
||||
|
||||
|
||||
# --- Admin Console ---
|
||||
admin-install:
|
||||
@echo "--> Installing admin console dependencies..."
|
||||
@cd admin-web && npm install
|
||||
|
||||
admin-dev:
|
||||
@echo "--> Starting admin console development server on http://localhost:5174 ..."
|
||||
@cd admin-web && npm run dev -- --port 5174
|
||||
|
||||
admin-build:
|
||||
@echo "--> Building admin console for production..."
|
||||
@cd admin-web && VITE_APP_ENV=$(ENV) npm run build
|
||||
|
||||
Reference in New Issue
Block a user