diff --git a/README.md b/README.md index 31a69ad..4adc6a9 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,7 @@ syncd是一款开源的代码部署工具,它具有简单、高效、易用等 - [原理](#原理) - [安装](#安装) - [使用](#使用) -- [Todo](#Todo) -- [关于](#关于) +- [帮助](#帮助) - [授权](#授权) ## 特性 @@ -34,7 +33,7 @@ syncd是一款开源的代码部署工具,它具有简单、高效、易用等 ## 原理 - + ### Git @@ -194,14 +193,29 @@ sudo vim /etc/hosts 密码: syncd.cc ``` +**!!!登录后请尽快修改密码** + ## 使用 +### 系统使用流程图 + + + +### 使用截图 + +| | | | +|:---:|:---:|:---:| +|![部署](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_deploy_ui.png)|![申请单列表](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_apply_list_ui.png)|![申请上线](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_apply_ui.png)| +|![服务器列表](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_server_ui.png)|![用户编辑](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_user_edit_ui.png)|![角色权限编辑](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_user_role_edit_ui.png)| +|![项目信息编辑](https://raw.githubusercontent.com/dreamans/syncd/master/resource/syncd_project_ui.png)| -## Todo +## 帮助 +遇到问题请提 [issue](https://github.com/dreamans/syncd/issues) -## 关于 +或者加微信进讨论群 +wechat ## 授权 diff --git a/resource/syncd_apply_list_ui.png b/resource/syncd_apply_list_ui.png new file mode 100644 index 0000000..cb077d8 Binary files /dev/null and b/resource/syncd_apply_list_ui.png differ diff --git a/resource/syncd_apply_ui.png b/resource/syncd_apply_ui.png new file mode 100644 index 0000000..a24064f Binary files /dev/null and b/resource/syncd_apply_ui.png differ diff --git a/resource/syncd_deploy_ui.png b/resource/syncd_deploy_ui.png new file mode 100644 index 0000000..fbab3c6 Binary files /dev/null and b/resource/syncd_deploy_ui.png differ diff --git a/resource/syncd_operate.png b/resource/syncd_operate.png new file mode 100644 index 0000000..c3e513d Binary files /dev/null and b/resource/syncd_operate.png differ diff --git a/resource/syncd_project_ui.png b/resource/syncd_project_ui.png new file mode 100644 index 0000000..b67b816 Binary files /dev/null and b/resource/syncd_project_ui.png differ diff --git a/resource/syncd_server_ui.png b/resource/syncd_server_ui.png new file mode 100644 index 0000000..6afb7f6 Binary files /dev/null and b/resource/syncd_server_ui.png differ diff --git a/resource/syncd_user_edit_ui.png b/resource/syncd_user_edit_ui.png new file mode 100644 index 0000000..014c866 Binary files /dev/null and b/resource/syncd_user_edit_ui.png differ diff --git a/resource/syncd_user_role_edit_ui.png b/resource/syncd_user_role_edit_ui.png new file mode 100644 index 0000000..d5c673c Binary files /dev/null and b/resource/syncd_user_role_edit_ui.png differ diff --git a/resource/wechat_dreamans.png b/resource/wechat_dreamans.png new file mode 100644 index 0000000..7700cce Binary files /dev/null and b/resource/wechat_dreamans.png differ diff --git a/syncd/main.go b/syncd/main.go index 6638543..6778051 100644 --- a/syncd/main.go +++ b/syncd/main.go @@ -25,7 +25,7 @@ var ( func init() { flag.BoolVar(&help, "h", false, "This help") - flag.StringVar(&syncdIni, "c", "./log/syncd.ini", "Set configuration file `file`") + flag.StringVar(&syncdIni, "c", "./etc/syncd.ini", "Set configuration file `file`") flag.BoolVar(&version, "v", false, "Version number") flag.Usage = usage