A full-stack, open-source online judge platform designed to elevate college programming education.
Go to file
2025-02-19 21:18:30 +08:00
docker fix(docker): upgrade Node.js version to 22-alpine in Dockerfile to resolve reference error 2025-02-19 17:30:43 +08:00
src fix(editor): resolve production error "Missing service editorService" by importing vscode 2025-02-19 16:39:30 +08:00
.dockerignore feat(docker): add Dockerfile and .dockerignore for containerized environment setup 2025-02-19 17:13:31 +08:00
.gitignore chore: initialize the project 2025-02-19 09:00:15 +08:00
bun.lock chore(deps): add next-themes package 2025-02-19 21:18:30 +08:00
components.json chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
Dockerfile fix(docker): upgrade Node.js version to 22-alpine in Dockerfile to resolve reference error 2025-02-19 17:30:43 +08:00
eslint.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
LICENSE chore: add MIT License file to the repository 2025-02-19 18:38:49 +08:00
next.config.ts feat(config): enable standalone output mode for Docker builds in Next.js 2025-02-19 17:14:25 +08:00
package.json chore(deps): add next-themes package 2025-02-19 21:18:30 +08:00
postcss.config.mjs chore: initialize the project 2025-02-19 09:00:15 +08:00
README.md docs: enhance README with additional setup instructions for cloning and starting containers 2025-02-19 18:29:04 +08:00
tailwind.config.ts chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
tsconfig.json chore: initialize the project 2025-02-19 09:00:15 +08:00

monaco-editor-lsp-next

A Next.js integration of Monaco Editor with LSP support, free from SSR issues.

🚀 Quick Start

# Clone repository
git clone https://github.com/cfngc4594/monaco-editor-lsp-next
cd monaco-editor-lsp-next

# Start containers in detached mode
docker compose -f ./docker/compose.yml up -d

🔧 Development Setup

# Clone repository
git clone https://github.com/cfngc4594/monaco-editor-lsp-next
cd monaco-editor-lsp-next

# Start specific containers (lsp-c and lsp-cpp) in detached mode
docker compose -f ./docker/compose.yml up -d lsp-c lsp-cpp

# Install project dependencies using Bun package manager
bun install

# Run the development server
bun run dev

⚙️ Configuration

LSP Server Settings

Language LSP Server Port
C clangd 4594
C++ clangd 4595