-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsummer_school_2017.html
More file actions
97 lines (74 loc) · 3.37 KB
/
summer_school_2017.html
File metadata and controls
97 lines (74 loc) · 3.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<title>Summer School 2017 Pepper Tutorial</title>
</head>
<body>
<div style="width:50%; margin-left:25%">
<h1>Okay! Hello ... let's go</h1>
<p>Open a terminal of your choice (Terminator, XTERM, whatever you like...)</p>
<pre>
touch $HOME/.netrc
</pre>
<pre>
gedit $HOME/.netrc
</pre>
<p>Add the following three lines to the file (.netrc). Florian will tell you what to use instead of 'XXX'</p>
<pre>
machine projects.cit-ec.uni-bielefeld.de
login XXX
password XXX
</pre>
<p>Save the file (CTRL+s), close gedit.</p>
<p>In the shell again, clone the CITK recipe repository as shown below.</p>
<pre>
cd /media/local_data/citk/
mkdir -p dist && cd dist
git clone https://opensource.cit-ec.de/git/citk .
</pre>
<p>Okay, fine. Now you have all the recipes in order to install the Pepper System.</p>
<p>Next you need to start the Jenkins CI Server. We already deployed one for your convenience :D</p>
<pre>
/media/local_data/citk/jenkins/start_jenkins
</pre>
<p>Well, now open a web browser of your choice and go to: <a target="_blank" href="https://localhost:8080/">CLICK
HERE!</a>. BTW, the CI Server is running on the machine in front of you. You should see something like this:
</p>
<img width="100%" src="images/ci_server_started.png"/>
<p>Login to the Jenkins (top right corner) use the user: citec and password: citec</p>
<p>Yeah, back to the terminal open another terminal please, <b>don't</b> close the first one since the Jenkins CI
Server in running inside that terminal...</p>
<p>Now you'll generate all the necessary build jobs that will eventually deploy (install) the entire system for you
AUTOMAGICALLY.</p>
<pre>
cd /media/local_data/citk/jenkins
</pre>
<pre>
./job-configurator --on-error=continue \
-d /media/local_data/citk/dist/distributions/pepper-robocup-nightly.distribution \
-m toolkit -D toolkit.volume=/media/local_data/citk/systems -u citec -p citec \
-D make.threads=6 -D cudagen=Pascal --cache-directory=/tmp/cache_dir
</pre>
<p>What happens now is that our magic works. After this command has finished (which could take a while) go
back to the <a target="_blank" href="https://localhost:8080/">JENKINS</a>. You should see a lot of new jobs
that are grey (they haven't been built yet). YES! Just build them. You don't need to trigger them all manually,
just look for the build job <b>pepper-robocup-nightly-toolkit-orchestration</b> and click on the tiny
<b>clock</b> icon to the right.
</p>
<p>Now the entire system is build and deployed on your system. When it's done you should see all job become <b><span style="color:blue;">BLUE</span></b>. You are now done. For further instructions, ask Florian.</p>
<img width="100%" src="images/jenkins_done.png"/>
<p>What you can do is:</p>
<pre>
cd /media/local_data/citk/systems/pepper-robocup-nightly/bin
./vdemo_pepper-default.sh
</pre>
</div>
</body>
</html>