Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 2.65 KB

README.md

File metadata and controls

89 lines (62 loc) · 2.65 KB

DolphinDB Web

DolphinDB Web

vscode extension installs

English | 中文

Console: DolphinDB database web management interface

Offline Local Deployment (no need to restart the server, hot replacement is possible)

# cd the directory where the dolphindb executable is located
cd /path/to/dolphindb-dir/

# backup existing web folder (or delete: rm -rf ./web/)
mv ./web/ ./web.2023.01.01/

# Use curl or other tools to download the latest zip archive
curl -O https://cdn.dolphindb.cn/assets/web.latest.zip

# Unzip the zip package
unzip ./web.latest.zip

# Confirm the update is successful
ls -lhF ./web/

# If it is a cluster, synchronize to other machines through rsync to ensure that the timestamp (mtime) is consistent, otherwise the http cache will not take effect
rsync -av --delete ./web/ root@192.168.1.204:/path/to/dolphindb-dir/web/

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

Cloud: DolphinDB K8S cloud platform web management interface

https://github.com/dolphindb/Tutorials_EN/blob/master/k8s_deployment.md

Development

# Install the latest version of nodejs
# https://nodejs.org/en/download/current/

# 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

# 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