新規GITリポジトリ内のプロジェクト・コードへのOCEツールキットの追加

プロジェクトの新しい空のGitリポジトリにOCEツールキットを追加できます。

  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