UISYS release method
There are two main release methods:
Mouse drag
将发布的目录拖拽到 uisys.exe 上即可,默认发布在80 端口
Issue by order
主要有两类:
For example, if there is a publishing directory in E:/website/, the command is:
- pub command
pub E:/website/
If you want to make a port:
pub E:/website/ :8090
If it only needs to be published as a static website (*.ui files are not parsed by default)
pub E:/website/ -s
//或者带端口
pub E:/website :8080 -s
//或者带IP
pub E:/website http://127.0.0.1:8080 -s
- The add command
UISYS can run multiple websites at the same time. If you want to specify the node name when publishing, you can do the following:
For example, specify the service node name as myweb :
add myweb E:/website :80
//或者设置为静态网站
add myweb E:/website/ :80 -s
//指定ip
add myweb E:/website/ 127.0.0.1:80 -s
Export static modules
By default, all modules of the UISYS project are dynamically resolved. If you want to run on other services, such as apache, ngxin, tomcat, webshere, and iis, you can export static modules.
Suppose there is a service node named p0
- release
//导出到本目录
release p0
//导出到指定目录
release p0 E:/website-release/
//导出的文件带 **debug**
release p0 E:/website-release/ -d
//仅导出模块
release p0 E:/website-release/ -m