mirror of
https://shylinux.com/x/education
synced 2025-07-02 05:31:21 +08:00
add some
This commit is contained in:
parent
b82bc3200e
commit
0cb1fa1338
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 shylinux
|
Copyright (c) 2017-2025 shylinux
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
3
Makefile
3
Makefile
@ -1,12 +1,11 @@
|
|||||||
binarys = bin/ice.bin
|
binarys = bin/ice.bin
|
||||||
version = src/version.go
|
version = src/version.go
|
||||||
binpack = src/binpack.go
|
binpack = src/binpack.go
|
||||||
option = src/option.go
|
|
||||||
flags = -ldflags "-w -s" -v
|
flags = -ldflags "-w -s" -v
|
||||||
|
|
||||||
all: def
|
all: def
|
||||||
@date +"%Y-%m-%d %H:%M:%S"
|
@date +"%Y-%m-%d %H:%M:%S"
|
||||||
go build ${flags} -o ${binarys} src/main.go ${option} ${version} ${binpack} && ./${binarys} forever restart &>/dev/null
|
go build ${flags} -o ${binarys} src/main.go src/option.go ${version} ${binpack} && ./${binarys} forever restart &>/dev/null
|
||||||
|
|
||||||
def:
|
def:
|
||||||
@[ -f ${version} ] || echo "package main">${version}
|
@[ -f ${version} ] || echo "package main">${version}
|
||||||
|
18
README.md
18
README.md
@ -1,11 +1,11 @@
|
|||||||
# Education
|
# ContextOS
|
||||||
Education 通过模块化、集群化、自动化的方式,只用一个 20M 大小的程序文件,就可以在各种设备上,一键启动完整的云计算服务与云研发环境。
|
ContextOS 通过集群化、模块化、自动化的方式,只用一个 20M 大小的程序文件,就可以在各种设备上,一键启动完整的云计算服务与云研发环境。
|
||||||
|
|
||||||
## 源码安装
|
## 安装系统
|
||||||
### 克隆编译
|
### 下载编译
|
||||||
```sh
|
```sh
|
||||||
git clone https://shylinux.com/x/education
|
git clone https://shylinux.com/x/ContextOS
|
||||||
cd education; source etc/miss.sh
|
cd ContextOS; source etc/miss.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### 启动服务
|
### 启动服务
|
||||||
@ -13,7 +13,5 @@ cd education; source etc/miss.sh
|
|||||||
ish_miss_serve
|
ish_miss_serve
|
||||||
```
|
```
|
||||||
|
|
||||||
### 访问网页
|
### 管理后台
|
||||||
```sh
|
打开管理后台 [http://localhost:9020](http://localhost:9020)
|
||||||
open http://localhost:9020
|
|
||||||
```
|
|
||||||
|
8
go.mod
8
go.mod
@ -2,12 +2,10 @@ module shylinux.com/x/education
|
|||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
toolchain go1.23.4
|
|
||||||
|
|
||||||
require (
|
require (
|
||||||
shylinux.com/x/community v0.0.21
|
shylinux.com/x/community v0.0.21
|
||||||
shylinux.com/x/enterprise v0.0.12 // indirect
|
shylinux.com/x/enterprise v0.0.12
|
||||||
shylinux.com/x/golang-story v0.0.29 // indirect
|
shylinux.com/x/golang-story v0.0.29
|
||||||
shylinux.com/x/mysql-story v0.6.28
|
shylinux.com/x/mysql-story v0.6.28
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -28,6 +26,7 @@ require (
|
|||||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.1046 // indirect
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.1046 // indirect
|
||||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh v1.0.1051 // indirect
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh v1.0.1051 // indirect
|
||||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.1047 // indirect
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.1047 // indirect
|
||||||
|
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.1095 // indirect
|
||||||
github.com/wechatpay-apiv3/wechatpay-go v0.2.20 // indirect
|
github.com/wechatpay-apiv3/wechatpay-go v0.2.20 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -46,7 +45,6 @@ require (
|
|||||||
github.com/jinzhu/now v1.1.5 // indirect
|
github.com/jinzhu/now v1.1.5 // indirect
|
||||||
github.com/mattn/go-isatty v0.0.17 // indirect
|
github.com/mattn/go-isatty v0.0.17 // indirect
|
||||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
||||||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.1095 // indirect
|
|
||||||
golang.org/x/sys v0.21.0 // indirect
|
golang.org/x/sys v0.21.0 // indirect
|
||||||
golang.org/x/text v0.22.0 // indirect
|
golang.org/x/text v0.22.0 // indirect
|
||||||
gorm.io/driver/mysql v1.5.7 // indirect
|
gorm.io/driver/mysql v1.5.7 // indirect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user