1
0
forked from x/ContextOS
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-01-27 22:38:07 +08:00
parent e41f8efc5d
commit bd918c3d77
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
docker run -p 20000:9020 -w /root -it alpine
export ctx_dev={{.Option "domain"}}{{.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 app username {{.Option "user.name"}} usernick "{{.Option "user.nick"}}" {{.OptionArgs "tcp_domain"}}
export ctx_dev={{.Option "domain"}}{{.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 app usernick "{{.Option "user.nick"}}" username {{.Option "user.name"}} {{.OptionArgs "tcp_domain"}}
open {{ .Cmdv "web.spide" "demo" "client.url" }}

View File

@ -1,3 +1,3 @@
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 "tcp_domain"}}
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 usernick "{{.Option "user.nick"}}" username {{.Option "user.name"}} {{.OptionArgs "tcp_domain"}}
open {{ .Cmdv "web.spide" "demo" "client.url" }}