forked from x/ContextOS
opt some
This commit is contained in:
parent
ec7b4020d9
commit
3b60ca35c4
@ -1,6 +1,7 @@
|
||||
~web.chat
|
||||
favor export
|
||||
~aaa
|
||||
sess export
|
||||
user export
|
||||
|
||||
~cli
|
||||
daemon export
|
||||
|
@ -5,6 +5,9 @@
|
||||
user import
|
||||
sess import
|
||||
|
||||
~web.chat
|
||||
favor import
|
||||
|
||||
~aaa
|
||||
role white void web.code.git.spide
|
||||
role white void web.code.git.trend
|
||||
|
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
export ctx_dev=${ctx_dev:="https://shylinux.com"}
|
||||
if [ -f $PWD/.ish/plug.sh ]; then source $PWD/.ish/plug.sh; elif [ -f $HOME/.ish/plug.sh ]; then source $HOME/.ish/plug.sh; else
|
||||
local temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL https://shylinux.com; else wget -O $temp -q http://shylinux.com; fi; source $temp intshell
|
||||
temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp intshell
|
||||
fi
|
||||
|
||||
require miss.sh
|
||||
|
@ -21,10 +21,10 @@ main() {
|
||||
case "$1" in
|
||||
app) # 生产环境
|
||||
# export ctx_log=/dev/stdout
|
||||
shift && prepare_ice && while true; do
|
||||
# bin/ice.bin forever start dev dev "$@" && break
|
||||
bin/ice.bin serve start dev dev "$@" && break
|
||||
done
|
||||
shift && prepare_ice && bin/ice.bin forever start dev dev "$@"
|
||||
# shift && prepare_ice && while true; do
|
||||
# bin/ice.bin serve start dev dev "$@" && break
|
||||
# done
|
||||
;;
|
||||
dev) # 开发环境
|
||||
shift && prepare_system
|
||||
|
42
usr/local/export/web.chat.favor/hash.json
Normal file
42
usr/local/export/web.chat.favor/hash.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"1a9dcf": {
|
||||
"meta": {
|
||||
"name": "192.168.8.145:9020",
|
||||
"text": "http://192.168.8.145:9020/?debug=true",
|
||||
"time": "2023-03-01 11:24:27",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"1b610e": {
|
||||
"meta": {
|
||||
"name": "192.168.8.187:9020",
|
||||
"text": "http://192.168.8.187:9020/?debug=true",
|
||||
"time": "2023-03-01 11:24:16",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"284e68": {
|
||||
"meta": {
|
||||
"name": "192.168.8.145:9020",
|
||||
"text": "http://192.168.8.145:9020/chat/cmd/web.code.vimer?debug=true#usr/webview/:webview_test.go:1",
|
||||
"time": "2023-03-01 11:22:15",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"3d8fb3": {
|
||||
"meta": {
|
||||
"name": "192.168.8.1",
|
||||
"text": "http://192.168.8.1",
|
||||
"time": "2023-03-01 11:23:10",
|
||||
"type": "link"
|
||||
}
|
||||
},
|
||||
"65cc8f": {
|
||||
"meta": {
|
||||
"name": "192.168.10.1",
|
||||
"text": "http://192.168.10.1",
|
||||
"time": "2023-03-01 12:06:48",
|
||||
"type": "link"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user