-
Notifications
You must be signed in to change notification settings - Fork 37
Orb Environment Configuration
Before starting this tutorial, make sure that you have installed all the dependencies below:
- Docker Engine
- Docker-compose
- Golang version 1.15 above
- Git
Make sure that you already uploaded your ssh public key to GitHub.
Create a folder Projects/NS1 in your home directory
mkdir -p Projects/NS1
cd Projects/NS1clone the orb repository, using the command bellow
git clone [https://github.com/ns1labs/orb.git](https://github.com/ns1labs/orb.git)Go into orb folder
cd orb/Check your git branch
git statusYou should get something like that
Make sure that you're on develop branch, if not, checkout to develop with the command below
git checkout developUpdate your project with the last changes, that may exist on git server with the command
git pull origin developIf everything works right then you're ready to start the project. Use the commands below, and wait for the finish.
make cleandocker
make dockers_dev
docker-compose -f docker/docker-compose.yml up -dConfiguring from WSL
Create a Run Target for the WSL Ubuntu
On Run/Debug Configuration, choose the WSL - Ubuntu, and choose the "Build on remote target"
I discovered what happened. When I was using Docker over WSL and the project was on ubuntu filesystem. The Docker changed the owner of the folder .idea to root blocking me to save anything from the Windows perspective over WSL. Changing the folder user owner to my own account fixed the issue.
chown -R <user>.<user> .ideaTest
To run the tests, on the Orb directory, use the command below:
make testTo get the specific Intellij runConfigurations use the command below:
git checkout 85a9ae4070b9a151b9f8c91d41b936735f081bbc .idea/runConfigurations/


