Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

These instructions have been verified on OSX High Sierra 10.13.4 using Docker for Mac Version 18.05.0-ce-rc1-mac63 (24246), which is latest edge version, stable channel will work as well.

...

  1. Recent Docker for Mac (tested with latest edge and stable release)
  2. Docker for Mac has to be sized to allow running all SDC containers, see instructions.
  3. Code changes from: https://gerrit.onap.org/r/#/c/45921/
  4. Basic development utils for building the source code (Git, java, maven etc..)

...

  1. Inside SDC project root directory, create new folder called data
  2. Add above created data directory to gitignore, as we don't want this to be included with any commits.
  3. Inside data directory, do following:
    1. create opt/config/ 
    2. place the following files in this data/opt/config/ folder:
    3. Configuration files
      Image Modifiednexus_username.txtImage Modifiedenv_name.txtImage Modifiednexus_docker_repo.txtImage Modifiednexus_password.
    4. Inside data directory, create environments directory 
    5. Copy the file from here: https://git.onap.org/sdc/tree/sdc-os-chef/environments/Template.json into data/environments/AUTO.json
    6. Edit AUTO.json file, replace yyy with your en0 IP address (your laptop's IP address), and update name and description xxx with AUTO

      1. Code Block
        languagebash
        #brew install iproute2mac # uncomment if needed for following commands
         
        IP=`ip route get 8.8.8.8 | awk '/src/{ print $7 }'`
        sed -i '' -e"s/yyy/${IP}/g" ./AUTO.json
         
        sed -i '' -e"s/xxx/AUTO/g" ./AUTO.json


Example file looks like this after editing:

...