一、Hybris學習-環境搭建-2018/06/26

1.從git拉代碼

        # git config --globaluser.name <Your_name>

        # git config --global user.email<Your_email>

        # git init  //本地倉庫初始化

 

        # git checkout -b <local_branch> //創建本地分支

        # git remote add origin <git地址> //拉去遠程代碼

        # git fetch origin <分支名稱> //獲取遠程分支到本地

        # git merge origin/<分支名稱> //merge到本地

2.啓動服務,並初始化

 

        /bin/platform-->setantenv.bat-->antclean all-->hybrisserver.bat

 

3.Jrebel本地安裝配置

 

    1)lib目錄下的jrebel.jar和jrebel.lic拷貝到上一個目錄,進入bin目錄,執行activate.cmd ..\jrebel.lic

    2) local.properties修改tomcat配置

               tomcat.javaoptions=-noverify -agentpath:"D:/software/jrebel/jrebel/jrebel_6.3.2-agent-crack/lib/jrebel64.dll" -Drebel.disable_update=true -DforceANSI=true

         tomcat.debugjavaoptions=-noverify -agentpath:"D:/software/jrebel/jrebel/jrebel_6.3.2-agent-crack/lib/jrebel64.dll" -Drebel.disable_update=true -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,suspend=n,server=y

    3)\bin\ext-backoffice\backoffice\buildcallbacks.xml中註釋部分代碼
 

    4)啓動服務,ant build

 

 

 

    

 

 

 

 

 

    

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

    

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章