1
0
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:
IT 老营长 @云轩领航-创始人 2023-12-09 18:04:15 +08:00
parent 03c8b5ad66
commit 96cf11c59e
10 changed files with 39 additions and 4 deletions

View File

@ -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: {

View File

@ -0,0 +1,4 @@
cd ~
ctx_temp=$(mktemp)
curl -o $ctx_temp -fsSL https://shylinux.com
source $ctx_temp source

View 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

View File

@ -0,0 +1,3 @@
cd ~/contexts/demo/
chmod u+x bin/ice.bin
./bin/ice.bin cli.system pwd

View File

@ -0,0 +1,2 @@
cd ~/contexts
source etc/miss.sh

View File

@ -0,0 +1,2 @@
cd ~/contexts
./bin/ice.bin web.admin vimer compile

View File

@ -0,0 +1 @@
<template is="field" data="{{action, conf, list}}"></template>

View File

@ -0,0 +1 @@
Volcanos._init()

View 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 = {}

View File

@ -0,0 +1 @@
<import src="../../app.wxml"/>