Before starting make sure you have a working development environment.
You can follow the Setting Up Your Development Environment Page.
Table Of Contents:
Table of Contents | ||||
---|---|---|---|---|
|
Required Tools
The computer must have the following software packages installed:
- Latest node version, currently 6.9.5 or higher (Installs the needed version of npm as well) you can download from here: https://nodejs.org/
- Latest maven vesrion, currently 3.3.9
- JDK 8, you can download from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Clone Repositories
Create a sdc folder and run the following command
Code Block | ||||
---|---|---|---|---|
| ||||
git clone http://gerrit.onap.org/r/sdc |
Building SDC
Warning | ||
---|---|---|
| ||
Ensure Maven settings.xml contains ONAP and OpenDaylight nexus repositories. See Setting Up Your Development Environment#MavenExamplesettings.xml |
Now all you need to is to build the project:
Code Block | ||||
---|---|---|---|---|
| ||||
cd c:\dvlp\sdc mvn clean install |
Installing SDC
Table of Contents | ||||
---|---|---|---|---|
|
1 Overview
SDC is deployed using a HEAT template that bootstraps a VM machine on the Rackspace cloud. Assuming that the deployment runs as expected then the following System setup, prerequisites and requirements should automatically be put in place.
This document describes the manual processes required to perform any one of the automated steps, if the deployment did not run to completion as expected.
The document deals with several key topics:
- System setup and prerequisites
- Manual system setup
- SDC application setup
- SDCconsumers setup
2 System setup and prerequisites
Operating system requirements
- Ubuntu v16.04
- Volume allocated and named /data
- Docker service installed, up and running
- Docker is connected to the Docker hub repository
SDC application requirements
- <environment>.json located under: /data/ASDC/environments
- docker_health.sh script located under: /data/scripts
- docker_run.sh script located under: /data/scripts