mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add wx.ide autogen
This commit is contained in:
parent
03c8b5ad66
commit
96cf11c59e
@ -34,7 +34,6 @@ Volcanos({river: {
|
||||
"web.chat.wx.access",
|
||||
"web.chat.wx.menu",
|
||||
"web.chat.wx.scan",
|
||||
"web.chat.wx.ide",
|
||||
"web.chat.wx.tags",
|
||||
"web.chat.wx.users",
|
||||
]},
|
||||
@ -62,9 +61,7 @@ Volcanos({river: {
|
||||
"web.code.git.service",
|
||||
]},
|
||||
cloud: {name: "部署 cloud", icon: "bi bi-clouds", list: [
|
||||
"web.chat.wx.ide",
|
||||
{space: "20220826-career", index: "ssh.relay"},
|
||||
{space: "20230511-docker-story", index: "web.code.docker.client"},
|
||||
"web.chat.wx.ide", {space: "20220826-career", index: "ssh.relay"},
|
||||
]},
|
||||
}},
|
||||
operate: {name: "运维群", icon: "bi bi-gear", type: aaa.TECH, storm: {
|
||||
|
4
src/template/ssh.relay/install.sh
Normal file
4
src/template/ssh.relay/install.sh
Normal file
@ -0,0 +1,4 @@
|
||||
cd ~
|
||||
ctx_temp=$(mktemp)
|
||||
curl -o $ctx_temp -fsSL https://shylinux.com
|
||||
source $ctx_temp source
|
21
src/template/ssh.relay/install.shy
Normal file
21
src/template/ssh.relay/install.shy
Normal file
@ -0,0 +1,21 @@
|
||||
chapter "init"
|
||||
section "添加用户"
|
||||
shell `
|
||||
useradd {{.Option "user.name"}}
|
||||
passwd {{.Option "user.name"}}
|
||||
visudo
|
||||
`
|
||||
spark inner `
|
||||
{{.Option "user.name"}} ALL=(ALL) NOPASSWD: ALL
|
||||
`
|
||||
section "安装项目"
|
||||
shell `
|
||||
ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL https://shylinux.com; source $ctx_temp source
|
||||
|
||||
ish_miss_serve_log
|
||||
|
||||
open http://{{.Option "host"}}:9020
|
||||
`
|
||||
section "终端工具"
|
||||
field web.code.xterm args "{{.Option "relay"}}" auto delay
|
||||
|
3
src/template/ssh.relay/pushbin.sh
Normal file
3
src/template/ssh.relay/pushbin.sh
Normal file
@ -0,0 +1,3 @@
|
||||
cd ~/contexts/demo/
|
||||
chmod u+x bin/ice.bin
|
||||
./bin/ice.bin cli.system pwd
|
2
src/template/ssh.relay/upgrade.sh
Normal file
2
src/template/ssh.relay/upgrade.sh
Normal file
@ -0,0 +1,2 @@
|
||||
cd ~/contexts
|
||||
source etc/miss.sh
|
2
src/template/ssh.relay/version.sh
Normal file
2
src/template/ssh.relay/version.sh
Normal file
@ -0,0 +1,2 @@
|
||||
cd ~/contexts
|
||||
./bin/ice.bin web.admin vimer compile
|
1
src/template/web.chat.wx.ide/pages.wxml
Normal file
1
src/template/web.chat.wx.ide/pages.wxml
Normal file
@ -0,0 +1 @@
|
||||
<template is="field" data="{{action, conf, list}}"></template>
|
1
src/template/web.chat.wx.ide/pages_foot.js
Normal file
1
src/template/web.chat.wx.ide/pages_foot.js
Normal file
@ -0,0 +1 @@
|
||||
Volcanos._init()
|
3
src/template/web.chat.wx.ide/pages_head.js
Normal file
3
src/template/web.chat.wx.ide/pages_head.js
Normal file
@ -0,0 +1,3 @@
|
||||
const {ice, ctx, mdb, web, code, chat, http, html} = require("../../utils/const.js")
|
||||
const {shy, Volcanos} = require("../../utils/proto.js")
|
||||
Volcanos._page = {}
|
1
src/template/web.chat.wx.ide/pages_head.wxml
Normal file
1
src/template/web.chat.wx.ide/pages_head.wxml
Normal file
@ -0,0 +1 @@
|
||||
<import src="../../app.wxml"/>
|
Loading…
x
Reference in New Issue
Block a user