Zeus 宙斯
permissions backend, provides enterprises with unified backend permissions management and privatized Saas cloud services.
- The project is developed using
golang gin + vue-element-admin
framework, usesjwt + casbin
for permission management, and provides OAuth2.0 Restful Api interface.- Provide unified login authentication, menu management, permission management, organizational structure management, employee management, configuration center, log management, etc. for enterprise back-end systems.
- Supports enterprise WeChat, DingTalk login and synchronization of enterprise organizational structure.
- Unify the management of employee entry and exit, and strengthen the authority approval process.
- Open source software, paid Saas software, internal enterprise development systems, etc., including but not limited to jenkis, jira, gitlab, confluence, ZenTao, enterprise mailbox, OA, CRM, financial software, enterprise Sass cloud service and other internal and external systems, to solve multiple problems in enterprises The pain point is that the software and platform accounts are out of sync.
打造统一开放平台生态标准,为企业引进外部系统不再困难。
For more information, please go to the official website to introduce the Bulls open source team and detailed development document guides.
Reference documents
This operation takes effect under Linux and requires golang 1.11+ & node v9 + compilation environment and setting git clone permissions.
Unified access entrance deployment before and after (unification before and after)
git clone [email protected]:bullteam/zeus-admin.git
export GOPROXY=https://goproxy.cn
export GO111MODULE=on
#后端编译
go build -o zeus
#前端编译
cd pkg/webui
npm install
npm run build:work
cd ~/zeus-admin
export MYSQL_USERNAME=root
export MYSQL_PASSWORD=123456
export MYSQL_HOST=127.0.0.1
export MYSQL_DB=zeus
export MYSQL_PORT=3306
export REDIS_HOST=127.0.0.1
export REDIS_PORT=6379
export REDIS_PASSWORD=""
./zeus server -c ./config/in-local.yaml
Deployment of different entrances at the front and rear (separation of front and rear)
git clone [email protected]:bullteam/zeus-admin.git
export GOPROXY=https://goproxy.cn
export GO111MODULE=on
#后端编译
go build -o zeus
#前端编译
cd pkg/webui
npm install
#正常情况下,会生成dist目录,可自己部署web服务器(如nginx),提供前端服务
npm run build:prod
cd ~/zeus-admin
export MYSQL_USERNAME=root
export MYSQL_PASSWORD=123456
export MYSQL_HOST=127.0.0.1
export MYSQL_DB=zeus
export MYSQL_PORT=3306
export REDIS_HOST=127.0.0.1
export REDIS_PORT=6379
export REDIS_PASSWORD=""
#修改in-local.yamln内部的project.merge为false,然后再启动
./zeus server -c ./config/in-local.yaml --cors=true
# 执行 sql 语句
mysql > source ./scripts/init.sql ;
Git collaborative workflow
openssl jwt key
For more information, please visit our official website to learn about our Bull Open Source Team
Excellent developers are very welcome to contribute to Zeus. Before submitting a Pull Request, please read the source code first to understand the principles and architecture. If you don’t understand, you can add his WeChat wutongci
and indicate Zeus
.
If you think Zeus is helpful to you, please scan the group QR code below. If the group is full, please add WeChat wutongci
and indicate zeus 开源交流
, and he will add you to the group.