Devcontainer
You'll need to set up a development environment if you want to develop on this project.
Prerequisites
- Docker
- VSCode (Cursor)
- Git
Setup
- Open the Command Palette in VSCode (Cursor)
- Mac:
Cmd
+Shift
+P
- Windows:
Ctrl
+Shift
+P
- Search for
Dev Containers: Rebuild and Reopen in Container
and click on it - Wait for the container to start
- Open the Command Palette in VSCode (Cursor)
- Mac:
Cmd
+Shift
+P
- Windows:
Ctrl
+Shift
+P
- Select Tasks: Run Task -> Start all services
- Wait for the services to start
Ports
Port | Service |
---|---|
3002 | App |
3003 | Documentation |
9000 | API Backend |
Services
- nginx-ui
- nginx-ui-2
- casdoor
- chaltestsrv
- pebble
Multi-node development
Add the following enviroment in the main node:
name: nginx-ui-2
url: http://nginx-ui-2
token: nginx-ui-2