-
Install requirements:
sudo apt-get install wget git python python-virtualenv python-dev python3-dev python3-pip -
Configure your git credentials:
git config --global user.name "Your Name" git config --global user.email "you@example.com" -
Download git-repo:
wget https://storage.googleapis.com/git-repo-downloads/repo chmod a+x ./repo -
Get manifest files:
python2 ./repo init -u https://github.com/AdvancedNetworkingSystems/manifests-wishful -
Configure user-only manifest file:
python2 ./repo init -m user.xml -
Get all repositories:
# to get all repositories python2 ./repo sync # set master branch for all repos python2 ./repo forall -c 'git checkout master' # to check status of all repositories python2 ./repo status
-
Create an account at our gitlab -> Go to: https://github.com/
-
Upload your public key into you account settings.
-
Install requirements:
sudo apt-get install wget git python python-virtualenv python-dev python3-dev python3-pip -
Configure your git credentials:
git config --global user.name "Your Name" git config --global user.email "you@example.com" -
Download git-repo:
wget https://storage.googleapis.com/git-repo-downloads/repo chmod a+x ./repo -
Get manifest files:
python2 ./repo init -u ssh://git@github.com/wishful-project/manifests.git -
Get all repositories:
# to get all repositories python2 ./repo sync # set master branch for all repos python2 ./repo forall -c 'git checkout master' # to check status of all repositories python2 ./repo status
-
Create virtual environment:
virtualenv -p /usr/bin/python3 ./dev -
Activate virtual environment:
source ./dev/bin/activate -
Install all dependencies (if all needed):
pip3 install -U -r ./.repo/manifests/requirements.txt -
Deactivate virtual environment (if you need to exit):
deactivate
-
Example controller:
#to enable debug mode run with parameter -v cd ./examples/simple ./wishful_simple_controller --config ./controller_config.yaml -
Example agent
#to enable debug mode run with parameter -v cd ./examples/simple ./wishful_simple_agent --config ./agent_config.yaml