tree: d394be0068613161fc1eac9fffd9a78d442a5982 [path history] [tgz]
  1. etc/
  2. build_rpm.sh
  3. README.md
  4. traffic_portal.spec
traffic_portal/build/README.md

Traffic Portal Installation / Configuration

1. Build Traffic Portal RPM w/ Docker or fetch Traffic Portal RPM from Jenkins

2. Install

  • Install the Node.js JavaScript runtime

    $ curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
    $ sudo yum install -y nodejs
    
  • Install the Traffic Portal RPM

    $ sudo yum install -y traffic_portal-[version]-[commits].[sha].x86_64.rpm
    

3. Configure

  • Configure Traffic Portal

    $ sudo vim /etc/traffic_portal/conf/config.js (read the inline comments)
    

4. Run

  • Start Traffic Portal

    $ sudo service traffic_portal start
    
  • Navigate to Traffic Portal

    $ http(s)://ip-address:port
    

Notes

- Traffic Portal consumes the Traffic Ops API, therefore, an instance of Traffic Ops must be running.
- Traffic Portal and Traffic Ops must be running on the same protocol (http or https).
- This is known to work with CentOS 6.7 and Centos 7 as the host environment.