chore: remove runtime-generated files from git tracking
Remove build.sh generated symlinks and runtime files from git: - conf/config.json (runtime config) - stop.sh, start.sh, sage.service (runtime scripts) - wwwroot/* symlinks (module links created by build.sh) These files are already in .gitignore and should not be tracked.
This commit is contained in:
parent
78da8bd3d9
commit
4a8f52a3f1
8
.gitignore
vendored
8
.gitignore
vendored
@ -67,8 +67,16 @@ wwwroot/pricing
|
||||
wwwroot/product_management
|
||||
wwwroot/rag
|
||||
wwwroot/rbac
|
||||
wwwroot/reallife_asset
|
||||
wwwroot/shell_theme.css
|
||||
wwwroot/shell_theme.js
|
||||
wwwroot/supplychain
|
||||
wwwroot/uapi
|
||||
wwwroot/unipay
|
||||
wwwroot/voucher
|
||||
|
||||
# Runtime generated files (created by build.sh)
|
||||
conf/config.json
|
||||
stop.sh
|
||||
start.sh
|
||||
sage.service
|
||||
|
||||
126
conf/config.json
126
conf/config.json
@ -1,126 +0,0 @@
|
||||
{
|
||||
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
|
||||
"logopath": "$[workdir]$/conf/logo.png",
|
||||
"woa_handler_id":"woa_subscribe_type",
|
||||
"logger":{
|
||||
"name":"sage",
|
||||
"levelname":"warning",
|
||||
"logfile":"$[workdir]$/logs/sage.log"
|
||||
},
|
||||
"tpacs":{
|
||||
"cnprod":{
|
||||
"get_tpac_balance_url": "https://www.opencomputing.cn/cntoai/get_user_balance.dspy",
|
||||
"tpac_accounting_url": "https://www.opencomputing.cn/cntoai/process_user_billing.dspy"
|
||||
},
|
||||
"ncmatchdemo":{
|
||||
"get_tpac_balance_url": "https://www.ncmatch.cn/cntoai/get_user_balance.dspy",
|
||||
"tpac_accounting_url": "https://www.ncmatch.cn/cntoai/process_user_billing.dspy"
|
||||
},
|
||||
"cndemo": {
|
||||
"get_tpac_balance_url": "https://dev.opencomputing.cn/cntoai/get_user_balance.dspy",
|
||||
"tpac_accounting_url": "https://dev.opencomputing.cn/cntoai/process_user_billing.dspy"
|
||||
}
|
||||
},
|
||||
|
||||
"pay":{
|
||||
"alipay":{
|
||||
"public_key_file":"$[workdir]$/conf/alipay/public.txt",
|
||||
"private_key_file":"$[workdir]$/conf/alipay/private.txt",
|
||||
"appid":"2021005111636494",
|
||||
"callback":"https://sage.opencomputing.cn/api/callback/alipay"
|
||||
},
|
||||
"paypal":{
|
||||
"mode":"sandbox",
|
||||
"client_id":"myid",
|
||||
"client_secret":"mysecret",
|
||||
"return_url":"ret_url",
|
||||
"cancel_url":"cancel_url"
|
||||
}
|
||||
},
|
||||
"skills_path": "$[workdir]$/skills",
|
||||
"filesroot":"$[workdir]$/files",
|
||||
"databases":{
|
||||
"sage":{
|
||||
"driver":"mysql",
|
||||
"kwargs":{
|
||||
"user":"test",
|
||||
"db":"sage",
|
||||
"password":"SS+C1MDMJrslBwGzYIv3nQ==",
|
||||
"charset": "utf8mb4",
|
||||
"host":"db"
|
||||
}
|
||||
}
|
||||
},
|
||||
"zmq_url": "tcp://127.0.0.1:5555",
|
||||
"website":{
|
||||
"paths":[
|
||||
["$[workdir]$/wwwroot",""]
|
||||
],
|
||||
"client_max_size":1000000000,
|
||||
"host":"0.0.0.0",
|
||||
"port":9080,
|
||||
"coding":"utf-8",
|
||||
"ssl_gg":{
|
||||
"crtfile":"$[workdir]$/conf/www.bsppo.com.pem",
|
||||
"keyfile":"$[workdir]$/conf/www.bsppo.com.key"
|
||||
},
|
||||
"indexes":[
|
||||
"index.html",
|
||||
"index.tmpl",
|
||||
"index.ui",
|
||||
"index.dspy",
|
||||
"index.md"
|
||||
],
|
||||
"startswiths":[
|
||||
{
|
||||
"leading":"/idfile",
|
||||
"registerfunction":"idfile"
|
||||
},{
|
||||
"leading":"/i18n_getmsgs",
|
||||
"registerfunction":"i18n"
|
||||
}
|
||||
],
|
||||
"processors":[
|
||||
[".ws","ws"],
|
||||
[".wss","ws"],
|
||||
[".xterm","xterm"],
|
||||
[".proxy","proxy"],
|
||||
[".llm", "llm"],
|
||||
[".llms", "llms"],
|
||||
[".llma", "llma"],
|
||||
[".xlsxds","xlsxds"],
|
||||
[".sqlds","sqlds"],
|
||||
[".tmpl.js","tmpl"],
|
||||
[".tmpl.css","tmpl"],
|
||||
[".html.tmpl","tmpl"],
|
||||
[".bcrud", "bricks_crud"],
|
||||
[".tmpl","tmpl"],
|
||||
[".app","app"],
|
||||
[".bui","bui"],
|
||||
[".ui","bui"],
|
||||
[".dspy","dspy"],
|
||||
[".md","md"]
|
||||
],
|
||||
"rsakey":{
|
||||
"privatekey":"$[workdir]$/conf/rsa_private_key.pem",
|
||||
"publickey":"$[workdir]$/conf/rsa_public_key.pem"
|
||||
},
|
||||
"session_max_time":3000,
|
||||
"session_issue_time":2500,
|
||||
"session_redis":{
|
||||
"url":"redis://127.0.0.1:6379"
|
||||
}
|
||||
},
|
||||
"langMapping":{
|
||||
"zh-Hans-CN":"zh-cn",
|
||||
"zh-CN":"zh-cn",
|
||||
"en-us":"en",
|
||||
"en-US":"en"
|
||||
},
|
||||
"module_cache":{
|
||||
"rbac":true,
|
||||
"pricing":true,
|
||||
"uapi":true
|
||||
}
|
||||
}
|
||||
|
||||
16
sage.service
16
sage.service
@ -1,16 +0,0 @@
|
||||
[Unit]
|
||||
Wants=systemd-networkd.service
|
||||
|
||||
[Service]
|
||||
User=hermesai
|
||||
Group=hermesai
|
||||
Type=forking
|
||||
WorkingDirectory=/home/hermesai/repos/sage
|
||||
ExecStart=/home/hermesai/repos/sage/start.sh
|
||||
ExecStop=/home/hermesai/repos/sage/stop.sh
|
||||
StandardOutput=append:/var/log/sage/sage.log
|
||||
StandardError=append:/var/log/sage/sage.log
|
||||
SyslogIdentifier=sage
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
4
start.sh
4
start.sh
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/bash
|
||||
cd /home/hermesai/repos/sage
|
||||
/home/hermesai/repos/sage/py3/bin/python /home/hermesai/repos/sage/app/sage.py -p 9180 -w /home/hermesai/repos/sage &
|
||||
exit 0
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/accounting/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/appbase/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
../../bricks/dist
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/charge/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/dapi/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/discount/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/filemgr/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/harnessed_agent/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/harnessed_reasoning/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
../pkgs/hermes-web-cli/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/llmage/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/msp/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/platformbiz/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/pricing/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/rag/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/rbac/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/reallife_asset/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
../../dashboard_for_sage/wwwroot/shell_theme.css
|
||||
@ -1 +0,0 @@
|
||||
../../dashboard_for_sage/wwwroot/shell_theme.js
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/supplychain/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/uapi/wwwroot
|
||||
@ -1 +0,0 @@
|
||||
/home/hermesai/repos/sage/pkgs/unipay/wwwroot
|
||||
Loading…
x
Reference in New Issue
Block a user