summaryrefslogtreecommitdiffstats
path: root/docs/sections/installation.rst
blob: f25aea3015502ef60dec0765c2d6348d67c93c55 (plain)
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
.. This work is licensed under a Creative Commons Attribution 4.0 International License.

Installation
=============================================

Installing from the Source Code
------------------------------------
Get HAS seed code from the Linux Foundation Projects page

.. code-block:: bash

    $ git clone https://gerrit.onap.org/r/optf/has

Use python virtual environment (https://virtualenv.pypa.io/en/stable/) to create and manage libraries and dependencies for HAS project.
    $ virtualenv {virtual_environment_location}
    
    $ source {virtual_environemtn_location}/bin/activate

Inside of /has/conductor folder, run the following commands:
    $ python setup.py install
    
    $ pip install -e .

In {virtual_environment_location}/bin folder, you should see the five components of HAS/Conductor project
conductor-api,conductor-controller, conductor-solver, conductor-reservation, conductor-data