工作环境总结(1)开发环境搭建
1、安裝git
? ? 安裝文件:Git-2.12.0-64-bit.exe
下載地址:https://github.com/git-for-windows/git/releases/download/v2.12.0.windows.1/Git-2.12.0-64-bit.exe?
? ? 在git bash中配置,git bash命令行中執(zhí)行(只有使用到egit時(shí)使用):
? ? ? git ?config ?--global ?user.name "liangshengqi"
? ? ? git ?config ?--global ?user.email "liangshengqi@inspur.com"
?
2、安裝eclipse
? ? 安裝文件:eclipse-jee-mars-2-win32-x86_64.zip
下載地址:http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/eclipse-jee-mars-2-win32-x86_64.zip
? ??安裝git插件(jee版本自帶插件,則不需要單獨(dú)安裝)
? ??設(shè)置git插件:在eclipse中,Windows->perferences->team->Git->Configuration->User Settings, Add Entry:
? ? ? ? ?key:user.email value:liangshengqi@inspur.com
? ? ? ? ?key:user.name value:liangshengqi
?
3、修改hosts文件
? ? 文件位置:C:\Windows\System32\drivers\etc\hosts
修改內(nèi)容:增加如下內(nèi)容
10.110.17.13 gitserver
10.110.17.14 jenkinsserver
10.110.17.15 sonar.iop.inspur.co
10.110.17.16 repo.iop.inspur.com
10.110.17.17 backup.inspur.com
??
4、導(dǎo)入git資源庫(kù)
? ? a、在 ?http://10.110.17.13/ ?中,點(diǎn)擊一個(gè)項(xiàng)目,復(fù)制顯示的git地址,如下圖中的?http://gitserver/iop/cloud-agent-python.git?:
? ? ? ??
?
? ? b、eclipse中的“Git Repositories”視圖中,選擇“Clone a Git Responsitory”,輸入上一步得到的git地址,點(diǎn)擊next? ? ? ?
?? ? ? ?3edc#EDC
?? ? ? ?
? ? ? ? 系統(tǒng)顯示分支列表,點(diǎn)擊next
? ? ? ??
? ? ? ? 點(diǎn)擊next,顯示如下圖:
? ? ? ??
? ? ? ? 點(diǎn)擊finish按鈕,git插件開(kāi)始下載配置庫(kù)
? ? c、在“GitRespositorie”視圖中選擇工程文件,
? ? ? ? 右鍵菜單,點(diǎn)擊“Import projects”,選擇“Import as general project”選項(xiàng),
? ? ? ? 然后默認(rèn)下一步,即完成導(dǎo)入工程到eclipse中;
?
--------------------------------------------------------
http://gitserver/iop/cloud-iopm-web
3edc
--------------------------------------------------------
?
浪潮信息-趙山??13:56:17http://gitserver/iop/example-server
這是后臺(tái)項(xiàng)目的,你檢一個(gè)到本地先看看,前臺(tái)的我需要重新整一下
浪潮信息-趙山??13:56:41
你可以先看看IOP的前臺(tái)項(xiàng)目也行
http://gitserver/iop/cloud-iopm-web
這是iop的
10.110.17.13 gitserver
10.110.17.14 jenkinsserver
10.110.17.15 sonar.iop.inspur.com
10.110.17.16 repo.iop.inspur.com
10.110.20.95 langchao.com
?
總結(jié)
以上是生活随笔為你收集整理的工作环境总结(1)开发环境搭建的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: [Leetcode][第785题][JA
- 下一篇: 生物流体力学及血流动力学建模仿真技术实战