# webhooks **Repository Path**: zhanglibin/web ## Basic Information - **Project Name**: webhooks - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-02-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 重点 重点 重点 ``` 一定要把自动部署的站点,设置的用户全权限为www sudo chown -R www:www * 当前目录全部设为www者 ``` 1. **1.安装git** 2. **2.配置服务器脚本** 1. 配置nginx服务指向脚本路径 3. **3.配置站点** 4. **遇到的坑** 1. git remote add origin +https链接 2. cd .git/config 配置url url = http://[用户名]:[密码]@gitlab.com/zhanglibin.git 3. cd .git/config 配置本项目的name 和 email [user] name=zhanglibin email = zhanglibin@huatu.com 4.![输入图片说明](https://images.gitee.com/uploads/images/2019/0213/132252_ea7356fc_1279062.png "微信截图_20190213131934.png")