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 = "#" >
< img src = "https://img.shields.io/badge/readme%20style-standard-brightgreen.svg" >
< / a >
< a href = "#" >
< img src = "https://img.shields.io/badge/give%20me-a%20star-green.svg" >
< / a >
< a href = "LICENSE" >
< img src = "https://img.shields.io/badge/License-MIT-yellow.svg" >
< / 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-03-04 14:57:39 +08:00
[Document ](https://docs.goploy.icu )
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Content
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
- [Background ](#Background )
- [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
2020-09-04 19:13:08 +08:00
## Background
Although most popular publishing tools are powerful, they are cumbersome to configure, difficult to get started, and difficult to use for projects.
2020-08-04 14:28:25 +08:00
2020-09-04 19:13:08 +08:00
## Install
1. Install mysql
2. Download the latest release
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
![Preview ](./preview.png )
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
2021-04-07 18:31:31 +08:00
3. edit .env ENV=dev
4. go run main.go
5. use gin (hot reload)
2020-08-04 14:28:25 +08:00
2020-09-04 19:19:22 +08:00
## Frontend
2020-08-04 14:28:25 +08:00
1. cd web
2020-09-04 19:13:08 +08:00
2. vi .env.development
2020-08-04 14:28:25 +08:00
3. npm run dev
2020-09-04 19:13:08 +08:00
## Repository
2020-08-04 14:28:25 +08:00
- [gin ](https://github.com/codegangsta/gin ) - GO hot reload。
2020-09-04 19:13:08 +08:00
- [element-ui ](https://github.com/ElemeFE/element ) - 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
[MIT ](LICENSE ) © zhenorzz