diff --git a/etc/init.shy b/etc/init.shy index 1a25f9b1..dd8b4343 100644 --- a/etc/init.shy +++ b/etc/init.shy @@ -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 "20230913-matrix-story" icon `src/matrix/matrix.png` repos `https://shylinux.com/x/matrix-story` 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 source local.shy diff --git a/src/template/web.code.publish/dev.sh b/src/template/web.code.publish/dev.sh index 7d21b27a..936790d2 100644 --- a/src/template/web.code.publish/dev.sh +++ b/src/template/web.code.publish/dev.sh @@ -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 "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" }}