From dada079f2a3f08469934d37b322602c6e4196b08 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 25 Feb 2022 19:46:18 +0800 Subject: [PATCH] opt some --- README.md | 18 ++++++++++-------- go.mod | 14 ++++++++++++++ go.sum | 19 ------------------- 3 files changed, 24 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 7f5a162a..7b77d4f8 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,20 @@ # contexts -contexts通过集群化、模块化、自动化的方式,可以在各种设备上,一键搭起云计算服务。 +contexts 通过集群化、模块化、自动化的方式,用一个 20M 的程序文件, 就可以在各种设备上,一键搭起完整的云计算与云研发服务。 -## install +## 安装项目 -### install by binary +### 镜像方式 ```sh -export ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp binary +ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL https://shylinux.com; source $ctx_temp binary ``` -### install by source +### 源码方式 ```sh -export ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp source +ctx_temp=$(mktemp); curl -fsSL https://shylinux.com -o $ctx_temp; source $ctx_temp source ``` -## page -then open http://localhost:9020 +## 使用项目 +如果是本地启动,直接免登录打开网页,http://localhost:9020 , +如果是远程或容器启动,输入相应地址后,输入默认的 username: root password: root 即可登录 + diff --git a/go.mod b/go.mod index 9a7c6cf6..9a653421 100644 --- a/go.mod +++ b/go.mod @@ -11,3 +11,17 @@ require ( shylinux.com/x/nginx-story v0.3.5 shylinux.com/x/redis-story v0.3.6 ) + +replace ( + shylinux.com/x/ice => ./usr/release + shylinux.com/x/icebergs => ./usr/icebergs + shylinux.com/x/toolkits => ./usr/toolkits +) + +replace ( + shylinux.com/x/golang-story => ./usr/golang-story + shylinux.com/x/linux-story => ./usr/linux-story + shylinux.com/x/mysql-story => ./usr/mysql-story + shylinux.com/x/nginx-story => ./usr/nginx-story + shylinux.com/x/redis-story => ./usr/redis-story +) diff --git a/go.sum b/go.sum index 3d45f345..a59e0326 100644 --- a/go.sum +++ b/go.sum @@ -2,24 +2,5 @@ shylinux.com/x/go-qrcode v0.0.1 h1:/eOGqMj1qtgs9Ymd12zTUa1gcJZs9S92kj2lb0QzKsE= shylinux.com/x/go-qrcode v0.0.1/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4ODm4po= shylinux.com/x/go-sql-mysql v0.0.1 h1:VX5SrwLBKzfkRouj39LgJ9reIXOWmMsScRpr+e0qdp0= shylinux.com/x/go-sql-mysql v0.0.1/go.mod h1:47OfAZK24HRJMy7dAu/jrksGCf9yzJaAUFwWYjhDFDA= -shylinux.com/x/golang-story v0.3.4 h1:CuA83v0DYOCU2154fJbxL3MYVBcKC8tLeHtD9KGxrpA= -shylinux.com/x/golang-story v0.3.4/go.mod h1:amooUwiVB0wNa2z6OfP0b6CodXmf+gcVgFaVGbam+eY= -shylinux.com/x/ice v0.6.4/go.mod h1:ACiAFs34NCB5qgfjgby1RXWS5y9q7BJMqaiycdtR3MM= -shylinux.com/x/ice v0.7.3 h1:GMzwrg5tzcBpORTxs0my46B9pHLrSpWE38Y9vaq4xWE= -shylinux.com/x/ice v0.7.3/go.mod h1:wmmUB3WVNw5xWFcyOjX5GzAp8bmQPe6OINABWnmR4sw= -shylinux.com/x/icebergs v0.9.3/go.mod h1:UmlnuYttB+5Lw0gnzMhyWP3Yp5ngwQ1zrlyKQxOxLqM= -shylinux.com/x/icebergs v1.0.1 h1:PoFQDTCe7FsheqZVPlYdXXz2wMtb3NvrDDnz5EuM/lU= -shylinux.com/x/icebergs v1.0.1/go.mod h1:1fRX95S0HcbeVk1emgtPugJPaR15xhGo3qNYxqIUgCw= -shylinux.com/x/linux-story v0.3.3 h1:k6SPJxw2NjFXLwa3V9BB0asRS9NhqbCEeyrL5rXv8/g= -shylinux.com/x/linux-story v0.3.3/go.mod h1:+nRy944KnhJQo4lb6VAFJj8/TnpGqdFxHJR2s6DLOxw= -shylinux.com/x/mysql-story v0.3.5 h1:8ZjCPD9URGxnrrixNsbCIxyIy4+wv1ROKmBOrtyNCrg= -shylinux.com/x/mysql-story v0.3.5/go.mod h1:QAM6SVeKLTh9u50MXmfMDT1sXUp+oaSzaC03uBjnm0s= -shylinux.com/x/nginx-story v0.3.5 h1:PMyaOZCZ8zlzHtKHxEZhCeaxzQurLlTMfUzpLtU2y34= -shylinux.com/x/nginx-story v0.3.5/go.mod h1:yQHh93+PYd5yBMrxffJdnCBwLafAwqv9zzX3MLtd2MA= -shylinux.com/x/redis-story v0.3.6 h1:KOd7K1x56JItNomdISjQGK3bPkwRtmqlHn1gQRGP0EY= -shylinux.com/x/redis-story v0.3.6/go.mod h1:KU4bps4EePrpS6e6hAI/X6StC7P3NX/v0iZp27XwEaY= -shylinux.com/x/toolkits v0.4.9/go.mod h1:8LbYHe7oxBIqb6s4MSOD+4d28QvPdvkyCVtwB/JW7AA= -shylinux.com/x/toolkits v0.5.2 h1:caTvTQ5o8hogGI5u120uh2X6rW/6cm8vP1vrSJJalgs= -shylinux.com/x/toolkits v0.5.2/go.mod h1:8LbYHe7oxBIqb6s4MSOD+4d28QvPdvkyCVtwB/JW7AA= shylinux.com/x/websocket v0.0.1 h1:OBc21DxqsGlQ2+Pz76xqLyDNo1LV+PUUqfWi+1PZPDE= shylinux.com/x/websocket v0.0.1/go.mod h1:AaSpMToOxbMULKQytzczeHPuqb708vK1vrAzCxLo/XE=