Skip to content

Latest commit

 

History

History
90 lines (65 loc) · 3.01 KB

README.md

File metadata and controls

90 lines (65 loc) · 3.01 KB

DolphinDB Web

DolphinDB Web

vscode extension installs

English | 中文

DolphinDB database web management interface

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

Development

Install the latest version of Node.js and browser on your machine.

# 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