English | 中文
Use a browser to access ip:port
of DolphinDB server to use
If you need to deploy to a subpath through nginx (not recommended, one more forwarding will reduce performance), you can refer to ./nginx.conf
Install the latest version of Node.js and browser on your machine.
- windows: https://nodejs.org/en/download/prebuilt-installer/current
- linux: https://github.com/nodesource/distributions?tab=readme-ov-file#debian-and-ubuntu-based-distributions
# Install the pnpm package manager
npm install -g pnpm
git clone https://github.com/dolphindb/web.git
cd web
# Install project dependencies
pnpm install
# Copy .vscode/settings.template.json to .vscode/settings.json
cp .vscode/settings.template.json .vscode/settings.json
# Set environment variable NODE_OPTIONS='--experimental-transform-types'
# 1. Set in the current session
$env:NODE_OPTIONS = '--experimental-transform-types'
# 2. Add to system environment variables (requires system restart)
# [System.Environment]::SetEnvironmentVariable('NODE_OPTIONS', '--experimental-transform-types', [System.EnvironmentVariableTarget]::User)
# Refer to scripts in package.json
# development
pnpm run dev
# scan entries
pnpm run scan
# Manually complete untranslated entries
# Run the scan again to update the dictionary file dict.json
pnpm run scan
#lint
pnpm run lint
#lint fix
pnpm run fix