English | 中文
用浏览器访问 DolphinDB server 的 ip:端口
即可使用
如果需要通过 nginx 部署到子路径下(不建议,多转发一次会降低性能),可以参考 ./nginx.conf
打开下面的链接,在机器上安装最新版的 node.js 及浏览器。
- windows: https://nodejs.org/en/download/prebuilt-installer/current
- linux: https://github.com/nodesource/distributions?tab=readme-ov-file#debian-and-ubuntu-based-distributions
# 安装 pnpm 包管理器
npm install -g pnpm
git clone https://github.com/dolphindb/web.git
cd web
# 国内网络推荐配置 registry
pnpm config set registry https://registry.npmmirror.com
# 安装项目依赖
pnpm install
# 参考 package.json 中的 scripts
# 开发
pnpm run dev
# 扫描词条
pnpm run scan
# 手动补全未翻译词条
# 再次运行扫描以更新词典文件 dict.json
pnpm run scan
# 格式化代码并自动修复代码错误
pnpm run fix
# 构建
pnpm run build
# 生成的文件在 web 目录下