Skip to main content

start-dev

Start EduHub development environment with Docker. Use when the user asks to start dev server, run locally, start development, or set up the environment.

来源信息

仓库
eduhub-org/eduhub
最近来源活动
2026年3月9日 08:10
检测到的 SKILL.md 语言
英语
星标
14
分支
9

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
start-dev
description
Start EduHub development environment with Docker. Use when the user asks to start dev server, run locally, start development, or set up the environment.
# Start Development Environment ## Quick Start ```bash # From project root docker compose up ``` This starts all services: - **Frontend**: http://localhost:5000 (edu-hub) - **Hasura Console**: http://localhost:8080 - **Keycloak**: http://localhost:28080 ## Individual Services ```bash # Start specific services docker compose up frontend-nx hasura # Start in background docker compose up -d # View logs for specific service docker compose logs -f frontend-nx ``` ## Service Overview | Service | Port | Description | |---------|------|-------------| | frontend-nx | 5000 | Next.js app | | hasura | 8080 | GraphQL API | | keycloak | 28080 | Authentication | | db_hasura | 5432 | PostgreSQL | | node_functions | 42000-42024 | Serverless functions | | python_functions | 42025-42026 | Python functions | ## Common Tasks ### Rebuild containers ```bash docker compose up --build ``` ### Reset database ```bash docker compose down -v docker compose up ``` ### Stop all services ```bash docker compose down ``` ## Hasura Console Run locally for migrations (not in Docker): ```bash cd backend hasura console --admin-secret myadminsecretkey ```
在 GitHub 查看