2020-08-04 14:28:25 +08:00
< p align = center >
< img src = "./banner.png" alt = "logo" title = "logo" / >
< / p >
< p align = "center" >
< a href = "#" >
2023-07-31 10:05:19 +08:00
< img src = "https://img.shields.io/badge/readme%20style-standard-brightgreen.svg" alt = "readme" >
2020-08-04 14:28:25 +08:00
< / a >
< a href = "#" >
2023-07-31 10:05:19 +08:00
< img src = "https://img.shields.io/badge/give%20me-a%20star-green.svg" alt = "give me a star" >
2020-08-04 14:28:25 +08:00
< / a >
< a href = "LICENSE" >
2023-07-31 10:05:19 +08:00
< img src = "https://img.shields.io/badge/License-GPLv3-yellow.svg" alt = "License-GPLv3" >
2020-08-04 14:28:25 +08:00
< / a >
< / p >
2020-09-04 19:15:30 +08:00
2020-09-04 19:13:08 +08:00
English | [简体中文 ](./README.zh-CN.md )
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
Name: go + deploy
2020-08-15 13:38:06 +08:00
2020-09-04 19:13:08 +08:00
A web deployment system tool!
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
Support all kinds of code release and rollback, which can be done through the web with one click!
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
Complete installation instructions, no difficulty in getting started!
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
> Important note: The master branch may be in an unstable or unavailable state during the development process. Please use releases instead of master to obtain stable binary files.
2020-08-04 14:28:25 +08:00
2021-02-15 10:28:57 +08:00
[DEMO ](http://demo.goploy.icu ) admin:admin!@# (It may not be able to open, depending on the mood)
2020-08-04 14:28:25 +08:00
2021-06-01 14:59:54 +08:00
[Docker ](https://hub.docker.com/r/zhenorzz/goploy )
2021-11-23 10:16:18 +08:00
[Dockerfile ](./docker/Dockerfile )
2021-03-04 14:57:39 +08:00
[Document ](https://docs.goploy.icu )
2020-08-04 14:28:25 +08:00
2023-07-31 10:05:19 +08:00
[OpenAPI ](https://api-doc.goploy.icu )
2021-11-09 14:12:28 +08:00
[Goploy-Agent ](https://github.com/zhenorzz/goploy-agent ) Monitor server performance
2023-07-18 12:42:04 +08:00
[Goploy-Vscode ](https://github.com/goploy-devops/goploy-vscode ) Search Goploy in Visual Studio Code
2023-07-25 09:33:39 +08:00
[Goploy-Jetbrains ](https://github.com/goploy-devops/goploy-jetbrains ) Search Goploy in Jetbrains
2023-07-18 12:42:04 +08:00
[Jetbrains ](https://www.jetbrains.com/?from=zhenorzz/goploy ) Supports this project with GoLand licenses. We appreciate their support for free and open source software!
2021-11-26 11:23:12 +08:00
2020-09-04 19:13:08 +08:00
## Content
2020-08-04 14:28:25 +08:00
2021-11-27 14:26:57 +08:00
- [Feature ](#Feature )
2020-09-04 19:13:08 +08:00
- [Install ](#Install )
- [Use ](#Use )
- [Preview ](#Preview )
- [Diagram ](#Diagram )
2020-09-04 19:19:22 +08:00
- [Backend ](#Backend )
- [Frontend ](#Frontend )
2020-09-04 19:13:08 +08:00
- [Repository ](#Repository )
- [Contribute ](#Contribute )
- [License ](#License )
2020-08-04 14:28:25 +08:00
2021-11-27 14:26:57 +08:00
## Feature
Use Goploy to automate your development workflow, so you can focus on work that matters most.
Goploy is commonly used for:
- Building projects
2022-03-10 19:31:30 +08:00
- Support git svn ftp sftp
2022-05-12 19:38:53 +08:00
- Deployment across os
2022-04-12 09:48:31 +08:00
- RBAC
2022-04-29 15:56:34 +08:00
- Monitor http tcp ping process script server
2021-11-27 14:26:57 +08:00
- Second cron
- Xterm
- Sftp
2021-12-15 16:17:31 +08:00
- LDAP
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Install
2023-04-26 11:27:00 +08:00
via [release ](https://github.com/zhenorzz/goploy/releases )
or build from tag
```
git clone https://github.com/zhenorzz/goploy.git
cd ./goploy
git checkout -b tagname
cd ./web
npm install & & npm run build
cd ../
go build -o goploy cmd/server/main.go
```
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Use
1. Run ./goploy or goploy.exe or goploy.mac
2. Follow the installation guide
3. web http://ip:port (Account:Password admin:admin!@#)
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Preview
2023-04-28 10:05:47 +08:00
![Preview ](./preview.gif )
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Diagram
![Diagram ](./goploy.png )
2020-08-04 14:28:25 +08:00
2020-09-04 19:19:22 +08:00
## Backend
2021-04-07 18:31:31 +08:00
1. Install go >= 1.16
2020-09-04 19:13:08 +08:00
2. go mod required
2022-09-17 17:43:49 +08:00
3. edit goploy.toml `cp goploy.example.toml goploy.toml`
2023-04-26 11:27:00 +08:00
4. build [Frontend ](#Frontend )
2023-05-24 10:42:57 +08:00
5. run `cd cmd/server && go run main.go --asset-dir=../../`
2023-04-26 11:27:00 +08:00
6. use gin (hot reload)
2020-08-04 14:28:25 +08:00
2020-09-04 19:19:22 +08:00
## Frontend
2022-09-17 17:43:49 +08:00
1. `cd web`
2. `npm install` or `yarn install`
3. edit .env.development
4. `npm run dev` or `yarn dev`
2022-09-17 17:57:27 +08:00
5. build `npm run build` or `yarn build`
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Repository
2020-08-04 14:28:25 +08:00
2022-07-11 09:37:13 +08:00
- [element-plus ](https://element-plus.gitee.io/ ) - UI。
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Contribute
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
[Issue ](https://github.com/zhenorzz/goploy/issues/new )
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
Create a pull request.
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## License
2020-08-04 14:28:25 +08:00
2022-04-09 21:45:53 +08:00
[GPLv3 ](LICENSE ) © zhenorzz