Versions Compared

Key

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

...

sudo vi /etc/environment
...
OPENNSA=/data/dev/opennsa
TESTOPENNSA=/data/dev/testopennsa
OPENNSAMNGMT=/data/dev/opennsamngmt

Now clone these repositories in the correct place and switch to valid branches:

cd /data/dev
git clone ssh://git@code.geant.net:7999/ccs/opennsa.git opennsa
git clone ssh://git@code.geant.net:7999/ccs/onsa-tests.git testopennsa
git clone ssh://git@code.geant.net:7999/ccs/onsa-mngmt.git opennsamngmt
cd opennsa
git checkout domainaggregate
cd ../testopennsa
git checkout develop

...

Info
titleRuning docker witout sudoing

In order to be able to run docker and docker-compose commands without sudo it is needed to add current user do docker group (the first step is optional, the docker group should already exists at this step):

sudo groupadd docker
sudo gpasswd -a $USER docker

This step may be necessary if we want to use setup scripts (with sudo it is need to set e.g. environment variables for root also)

...