1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-12-21 15:54:49 +08:00
parent e0b6d31a42
commit 4a5d3cff30
2 changed files with 1 additions and 4 deletions

View File

@ -10,8 +10,5 @@
dream create name "20230511-golang-story" icon `usr/icons/go.png` repos `https://shylinux.com/x/golang-story` dream create name "20230511-golang-story" icon `usr/icons/go.png` repos `https://shylinux.com/x/golang-story`
dream create name "20230913-matrix-story" icon `src/matrix/matrix.png` repos `https://shylinux.com/x/matrix-story` dream create name "20230913-matrix-story" icon `src/matrix/matrix.png` repos `https://shylinux.com/x/matrix-story`
config dream binary `` config dream binary ``
~gdb
event listen serve.start `web.code.git.repos clone origin node_modules name "" path "" event`
event listen serve.start `web.code.git.repos clone origin icons name "" path "" event`
~ssh ~ssh
source local.shy source local.shy

View File

@ -1,3 +1,3 @@
docker run -p 20000:9020 -w /root -it alpine docker run -p 20000:9020 -w /root -it alpine
export ctx_dev={{.Option "domain"}} ctx_repos={{.Option "source"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp dev username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "token"}} export ctx_dev={{.Option "domain"}} ctx_repos={{.Option "source"}}{{.Option "ctx_env"}}; temp=$(mktemp); if curl -h &>/dev/null; then curl -o $temp -fsSL $ctx_dev; else wget -O $temp -q $ctx_dev; fi; source $temp dev username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "tcp_domain"}}
open {{ .Cmdv "web.spide" "demo" "client.url" }} open {{ .Cmdv "web.spide" "demo" "client.url" }}