...
Follow the instructions on the identity portal to create a Linux Foundation account and get access to the OpenECOMP Gerrit instance. Then verify that you can log in at https://gerrit.openecomp.org/ and that you can see the OpenECOMP list of repositories.
Unix (RHEL/CentOS/Ubuntu
...
) Setup (under construction)
...
Redhat/CentOS
set JAVA_HOME in ~/.bashrc | yum install java-1.8.0-openjdk-devel get it via alternatives --config javac |
install git and development tools | yum install git yum groupinstall 'Development Tools' |
install npm (will also be installed automatically by the ecomp build) | |
download and install Maven 3.5.0 create an ~/.m2 folder and copy our settings.xml there add maven to your path - check it with mvn --version | http://maven.apache.org/download.cgi tar -xvf apache-maven-3.5.0-bin.tar.gz |
Add the following option to your MAVEN_OPTS in order not to periodically hang on downloading artifacts in linux | -Djava.net.preferIPv4Stack=true |
Install docker (required for some repos like dcae-inventory off dcae | sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum-config-manager --enable docker-ce-edge sudo yum makecache fast sudo yum install docker-ce sudo systemctl start docker |
...
Generate Public and Private Keys
OSX
ssh-keygen -t rsa |
---|
Windows
The puttygen
utility, installed with putty
, generates public and private keys used for secure communication with Gerrit.
...
Copy/paste the known_hosts entries listed, into a file named known_hosts under your .ssh profile (something like C:\Users\<my-id>\.ssh) (if known_hosts does not exist, create it).
Mac/OSX
get your MBP 2016 ready for development
under construction
generate keys - either ssh-add the key or rename it as id_rsa and put it into your ~/.ssh dir
Install the JDK (as dmg) - http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install homebrew package manager -
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
python should already be installed. - do a --version check
install pip - sudo easy_install pip
install openstack tools
install docker (dmg) - https://docs.docker.com/docker-for-mac/install/#download-docker-for-mac
install maven - apache-maven-3.5.0-bin.tar, create and ~./m2 and place settings.xml there
git comes with Xcode or Homebrew - do a --version check
IDE: Eclipse: Does Not Support Gerrit Plugin
...