將 OCE 工具程式新增至新 Git 儲存區域中的專案程式碼

您可以將 OCE 工具程式新增至新的空專案 Git 儲存區域。

  1. 在新專案的 REPOSITORIES 底下,複製專案 Git 儲存區域的 HTTP URL。

  2. 開啟終端機視窗並輸入以下命令:git clone <your-project >.git

    1. 在系統要求時,輸入您的 Developer Cloud Service 密碼。

    2. 如果見到 "git is not a command" 錯誤,請從 https://git-scm.com/downloads 安裝 Git,然後重新輸入 git clone 命令。

  3. git clone git@github.com:oracle/content-and-experience-toolkit.git

    或者,可以從以下位置下載:https://github.com/oracle/content-and-experience-toolkit/archive/master.zip

  4. cp -R content-and-experience-toolkit/sites/cec-components <your-project>

  5. cd <your-project>

  6. git add cec-components

  7. git commit -a -m "<your comments>"

  8. git push