# gcs **Repository Path**: opsfast/gcs ## Basic Information - **Project Name**: gcs - **Description**: gcs(go config server) 配置管理平台,此项目基于gf框架开发,支持项目管理、配置管理、配置发布、项目对比、配置复制,接口获取配置等 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 14 - **Created**: 2019-10-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gcs #### 介绍 gcs(go config server) 配置管理平台,此项目基于gf框架开发,支持项目管理、配置管理、配置发布、项目对比、配置复制,接口获取配置等; * github地址:https://github.com/goflyfox/gcs * gitee地址:https://gitee.com/goflyfox/gcs #### 安装教程 1. 从git下载项目: git clone https://github.com/goflyfox/gcs 2. 安装mysql数据库,创建db,运行deploy下gcs.sql脚本 3. 修改config下config.toml配置文件 ```toml # 数据库配置 [database] link = "root:123456@tcp(127.0.0.1:3306)/gcs" ``` 4. `go run main.go` ; 编译使用 `go build` 5. 访问http://localhost即可看到登录页面,账号/密码:admin/123456 #### 其他配置 1. 如果使用集群,可以开启redis token模式;配置如下: ```toml # 缓存模式 1 gcache 2 gredis cache-mode = 2 # Redis数据库配置 [redis] default = "127.0.0.1:16379,0,soccer" cache = "127.0.0.1:16379,1,soccer?idleTimeout=600" ``` #### 功能模块 1. 登录、认证、登出 2. 项目管理 3. 参数配置 4. 配置发布 5. 支持菜单权限及项目权限配置 6. 其他:组织机构管理、用户管理、角色管理、菜单管理、日志管理 #### 对外接口 [配置平台接口](https://github.com/goflyfox/gcs/blob/master/deploy/api.md "配置平台接口") #### 平台截图 登录: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/1.png) 配置管理: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/g1.png) 配置发布: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/g2.png) 配置对比: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/g3.png) 组织机构: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/2.png) 用户管理: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/3.png) 日志管理: ![image](https://raw.githubusercontent.com/goflyfox/gcs/master/deploy/image/4.png) #### 感谢 1. gf框架 [https://github.com/gogf/gf](https://github.com/gogf/gf)