Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
00785e1c4f
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
SHELL := /bin/sh
|
||||
OUTPUT_MAKE_DEBUG ?= TRUE
|
||||
OUTPUT_MAKE_DEBUG ?= FALSE
|
||||
CMD_MSG_ON ?= FALSE
|
||||
|
||||
ifeq ($(CMD_MSG_ON), TRUE)
|
||||
|
|
22
Readme.md
22
Readme.md
|
@ -5,6 +5,7 @@
|
|||
<pre>
|
||||
. 安全网关产品源代码主目录
|
||||
├── Common 产品侧和平台侧公共头文件
|
||||
├── docs Readme 文档相关资源存放目录
|
||||
├── Platform 平台侧工程目录
|
||||
│ ├── build 平台侧系统构建 Makefile 目录
|
||||
| ├── common 平台侧公共代码目录
|
||||
|
@ -113,3 +114,24 @@ _install
|
|||
</code>
|
||||
sGATE_GIT_TAGS 记录了当前源码在 gitlab 服务器上面的分支信息
|
||||
sGATE_GIT_VERS 记录了当前源码在 gitlab 服务器上面的版本信息
|
||||
|
||||
#### 7. Windows 开发环境搭建
|
||||
|
||||
+ 解决 git 出错的方法
|
||||
|
||||
1. 下载并安装 [cygwin](http://cygwin.com/install.html)
|
||||
2. 运行安装程序 ![安装界面](./docs/img/1.PNG)
|
||||
3. 在源选择界面中按图添加163源 ![源设置界面](./docs/img/6.PNG)
|
||||
4. 安装包选择界面中选择中 git 等必要命令(如果没有选择上,以后可以运行安装工具继续选择) ![选择软件包](./docs/img/7.PNG)
|
||||
5. 点击 下一步 等待安装完成 ![安装完成](./docs/img/10.PNG)
|
||||
6. 运行 cygwin,执行以下代码(假设 Windows 目录为 E:\my_projects)拉取服务器代码
|
||||
<code>cd /cygdrive/e/my_projects
|
||||
git clone [git@git.komect.net:ISG/secogateway.git](http://git.komect.net/ISG/secogateway)</code>
|
||||
7. 如果 git clone 报错,请设置 ssh key
|
||||
8. git clone 完成后,可以从 E:\my_projects\secogateway 访问文件。警告文件为内核源码,可以忽略 ![](./docs/img/A1.PNG)
|
||||
9. 可以将 kernel/linux-4.14.83/ 添加到本地 .gitignore 文件中,但不要将 .gitignore 文件提交到服务器
|
||||
|
||||
+ 将服务器目录映射到 Windows 驱动器
|
||||
1. 安装 [sshfs](https://github.com/billziss-gh/sshfs-win)
|
||||
2. 安装 [WinFsp](http://www.secfs.net/winfsp/)
|
||||
3. 参照 [WinFsp文档](http://www.secfs.net/winfsp/) 进行配置
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 340 KiB |
Binary file not shown.
After Width: | Height: | Size: 129 KiB |
Binary file not shown.
After Width: | Height: | Size: 269 KiB |
Binary file not shown.
After Width: | Height: | Size: 376 KiB |
Binary file not shown.
After Width: | Height: | Size: 455 KiB |
Loading…
Reference in New Issue