Skip to content

Commit d11f988

Browse files
committedSep 14, 2016
update
Change-Id: Ieccf997c25a6baa6163119e7e87dfa64e3a6a1dd
1 parent ab75f25 commit d11f988

File tree

3 files changed

+99
-7
lines changed

3 files changed

+99
-7
lines changed
 

‎README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ User Installation
2727

2828
# to get all repositories
2929
python2 ./repo sync
30-
# to create master branch on all
31-
python2 ./repo start master --all
30+
# set master branch for all repos
31+
python2 ./repo forall -c 'git checkout master'
3232
# to check status of all repositories
3333
python2 ./repo status
3434

@@ -56,16 +56,16 @@ Developer Installation
5656

5757
5. Get manifest files:
5858

59-
./repo init -u ssh://git@github.com/wishful-project/manifests.git
59+
python2 ./repo init -u ssh://git@github.com/wishful-project/manifests.git
6060

6161
6. Get all repositories:
6262

6363
# to get all repositories
64-
./repo sync
65-
# to create master branch on all
66-
./repo start master --all
64+
python2 ./repo sync
65+
# set master branch for all repos
66+
python2 ./repo forall -c 'git checkout master'
6767
# to check status of all repositories
68-
./repo status
68+
python2 ./repo status
6969

7070

7171
Installation

‎README_dev.md

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
Developer Installation
2+
======================
3+
4+
1. Create an account at our gitlab -> Go to: https://github.com/
5+
6+
2. Upload your public key into you account settings.
7+
8+
3. Install requirements:
9+
10+
sudo apt-get install wget git python python-virtualenv python-dev python3-dev python3-pip
11+
12+
4. Configure your git credentials:
13+
14+
git config --global user.name "Your Name"
15+
git config --global user.email "you@example.com"
16+
17+
5. Download git-repo:
18+
19+
wget https://storage.googleapis.com/git-repo-downloads/repo
20+
chmod a+x ./repo
21+
22+
5. Get manifest files:
23+
24+
python2 ./repo init -u ssh://git@github.com/wishful-project/manifests.git
25+
python2 ./repo init -m dev.xml
26+
27+
6. Get all repositories:
28+
29+
# to get all repositories
30+
python2 ./repo sync
31+
# to create master branch on all
32+
python2 ./repo forall -c 'git checkout dev'
33+
# to check status of all repositories
34+
python2 ./repo status
35+
36+
37+
Installation
38+
============
39+
40+
1. Create virtual environment:
41+
42+
virtualenv -p /usr/bin/python3 ./dev
43+
44+
2. Activate virtual environment:
45+
46+
source ./dev/bin/activate
47+
48+
3. Install all dependencies (if all needed):
49+
50+
pip3 install -U -r ./.repo/manifests/requirements_dev.txt
51+
52+
4. Deactivate virtual environment (if you need to exit):
53+
54+
deactivate
55+
56+
Running examples
57+
================
58+
59+
1. Example controller:
60+
61+
#to enable debug mode run with parameter -v
62+
cd ./examples/simple_controller
63+
wishful-agent --config ./config_master.yaml
64+
65+
2. Example agent
66+
67+
#to enable debug mode run with parameter -v
68+
cd ./examples/simple_controller
69+
wishful-agent --config ./config_slave.yaml

‎requirements_dev.txt

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
./libs/stream_pipe
2+
./libs/scapy-python3
3+
./libs/pyre
4+
./libs/python-tc
5+
./upis
6+
./agent
7+
./modules/discovery
8+
./modules/discovery_pyre
9+
./modules/handover
10+
./modules/wireless_topology
11+
./modules/rules
12+
./modules/simple
13+
./modules/iperf
14+
./modules/wifi
15+
./modules/wifi_ath
16+
./modules/ni_sdr
17+
./modules/rs_signal_gen
18+
./modules/spectral_scan_ath9k
19+
./modules/robot
20+
./modules/net_linux
21+
./modules/gnuradio
22+
./examples
23+
./mininet

0 commit comments

Comments
 (0)
Please sign in to comment.