html5 uml编辑,GitHub - webuml/webuml-ui: DEPRECATED - The HTML5 based browser UI to webuml

webuml-ui

The HTML5 based browser UI to webuml.

Status

ON HOLD.

The libraries used in this project are known to contain security issues.

Whenever one forks this project, consider to upgrade all libraries before deploying somewhere.

Minimum preconditions:

Node.js v10.25+

npm (mostly included in node.js)

Install dependencies AND build

> npm install

This will trigger npm to download all dependencies and will trigger grunt for building everything.

You can build manually via

> grunt

You can run a watch task, which will automatically build everything, when files changed

> grunt watch

Manual Start

> npm start --profiles.active=local

Local Development

Grunt asembles static content from src/main/ to build/.

Grunt also assembles javascript files from src/main/js/** to build/webuml_ui[_min].js.

The grunt watch tasks watches the src/main folder and executes the task 'no-uglify' on any file change.

Just reload your browser window afterwards.

To activate the grunt watch task:

IntelliJ IDEA -> Right-Click on gruntfile.js -> Open Grunt Console -> Double-click on task "watch".

Point your Browser to localhost:8080

Make changes in html, js, css and reload browser window afterwards.

Node serves static content from build/ via express. Therefore start node:

Precondition: node.js plugin installed.

Create a node run configuration in IDEA:

working-directory: webuml-ui

JavaScript File: server.js

Application Parameters: "start --profiles.active=local"

Point your browser to localhost:8080.

Local Testing

> npm test

OR

Deploy on Heroku

App: https://webuml-ui.example.org

Config: /Procfile

Properties: application-heroku.properties

3rd Party Libraries

External Javascript libraries are managed via Bower.

You only need to have a global installation of Bower,

when you want to update libraries (jquery, fabric, etc.).

> bower update

will do the job for you ;-)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值