RIC:1060: Change in PTL
[ric-plt/rtmgr.git] / docs / installation-guide-rtmgr-as-exe.rst
1 ..
2 ..  Copyright (c) 2019 AT&T Intellectual Property.
3 ..  Copyright (c) 2019 Nokia.
4 ..
5 ..  Licensed under the Creative Commons Attribution 4.0 International
6 ..  Public License (the "License"); you may not use this file except
7 ..  in compliance with the License. You may obtain a copy of the License at
8 ..
9 ..    https://creativecommons.org/licenses/by/4.0/
10 ..
11 ..  Unless required by applicable law or agreed to in writing, documentation
12 ..  distributed under the License is distributed on an "AS IS" BASIS,
13 ..  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ..
15 ..  See the License for the specific language governing permissions and
16 ..  limitations under the License.
17 ..
18
19 Pre-requisites
20 --------------
21     * Ubuntu machine
22     * golang 1.12.1 minimum
23
24 Compiling Routing Manager
25 -------------------------
26 Clone the ric-plt/dep git repository.
27
28 .. code:: bash
29
30   git clone "https://gerrit.o-ran-sc.org/r/ric-plt/rtmgr"
31
32 Execute this shell script which will give you the rtmgr as executable
33
34 .. code:: bash
35
36   cd rtmgr/example
37   ./rtmgr_exe.sh
38
39 Run rtmgr by passing the config file as parameter. Note that the rtmgr may abort after sometime as it needs appmgr to be running. This can be tweaked by modifying the actual code. As this would be needed only for actual Development, the sam eis not being mentioned here.
40
41 .. code:: bash
42
43   ./rtmgr -f rtmgr-config.yaml
44