Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wangyiwy/oktools

在线工具 OKTools 项目源码 https://oktools.net
https://github.com/wangyiwy/oktools

Last synced: about 1 month ago
JSON representation

在线工具 OKTools 项目源码 https://oktools.net

Awesome Lists containing this project

README

        

# 一个工具网站
![](shapshot.png)

# 编译
1. 安装 Golang
2. 安装 Git
3. 构建
```shell
git clone https://github.com/wangyiwy/oktools.git
cd oktools
go build
```
4. 修改配置文件
```shell
mv conf.yaml.default conf.yaml
vi conf.yaml
```
配置说明
```shell
app:
mode: release # debug / release
log-file: oktools.log # 日志文件路径

http:
port: 443 # 程序端口
ssl: # ssl 证书配置 , release 模式必须
crt: # example: /etc/oktools/oktools.net_nginx/oktools.net_bundle.crt
key: # example: /etc/oktools/oktools.net_nginx/oktools.net.key
```
6. 运行
```shell
sh start.sh
```
7. 停止
```shell
sh stop.sh
```