-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpublish-server.sh
More file actions
47 lines (43 loc) · 1.57 KB
/
publish-server.sh
File metadata and controls
47 lines (43 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright © 2026 Qiantong Technology Co., Ltd.
# qKnow Knowledge Platform
# *
# License:
# Released under the Apache License, Version 2.0.
# You may use, modify, and distribute this software for commercial purposes
# under the terms of the License.
# *
# Special Notice:
# All derivative versions are strictly prohibited from modifying or removing
# the default system logo and copyright information.
# For brand customization, please apply for brand customization authorization via official channels.
# *
# More information: https://qknow.qiantong.tech/business.html
# *
# ============================================================================
# *
# 版权所有 © 2026 江苏千桐科技有限公司
# qKnow 知识平台(开源版)
# *
# 许可协议:
# 本项目基于 Apache License 2.0 开源协议发布,
# 允许在遵守协议的前提下进行商用、修改和分发。
# *
# 特别说明:
# 所有衍生版本不得修改或移除系统默认的 LOGO 和版权信息;
# 如需定制品牌,请通过官方渠道申请品牌定制授权。
# *
# 更多信息请访问:https://qknow.qiantong.tech/business.html
#!/bin/sh
# filename: publish-server.sh
# 部署千知平台
targetPath="/home/$USER/src/qKnow/qknow-server/target"
# 运行目录
runPath="/home/$USER/opt/qknow-server"
# publish
echo "Publishing qKnow admin ... The installation directory is $runPath"
cd $targetPath
cp qknow-server.jar $runPath
echo "Publish qKnow success! Now you can go to the installation directory($runPath) and restart the server."
cd $runPath
sh restart.sh
tail -f logs/info.log