Install CHORDS For Various Operating Systems

See the detailed instructions if the Quick Start recipes are not adequate to get your portal running, and for additional information.

Quick Start

sudo -i
apt-get install docker.io docker-compose
mkdir <chords_dir>
cd <chords_dir>

# Fetch the control script:
curl -O -k https://raw.githubusercontent.com/NCAR/chords/master/chords_control

# Initial installation:
python chords_control --config
python chords_control --update

# To run CHORDS:
python chords_control --run

# To stop CHORDS:
python chords_control --stop

# To reconfigure and update:
cd <chords_dir>
curl -O -k  https://raw.githubusercontent.com/NCAR/chords/master/chords_control
python chords_control --config
python chords_control --update
python chords_control --stop
python chords_control --run
Now point your browser at the IP of the the system. localhost will often work as the IP, if the browser is on the same system. Be sure to use http:// (not https://).
sudo -i
yum -y install docker docker-compose
systemctl enable docker
systemctl start docker
mkdir <chords_dir>
cd <chords_dir>

# Fetch the control script:
curl -O -k https://raw.githubusercontent.com/NCAR/chords/master/chords_control

# Initial installation:
python chords_control --config
python chords_control --update

# To run CHORDS:
python chords_control --run

# To stop CHORDS:
python chords_control --stop

# To reconfigure and update:
cd <chords_dir>
curl -O -k  https://raw.githubusercontent.com/NCAR/chords/master/chords_control
python chords_control --config
python chords_control --update
python chords_control --stop
python chords_control --run
Now point your browser at the IP of the the system. localhost will often work as the IP, if the browser is on the same system. Be sure to use http:// (not https://).
  • Install Docker for Mac.
  • Run Docker. Configure its preferences to start Docker automatically.
  • Then in a terminal window:
    mkdir <chords_dir>
    cd <chords_dir>
    
    # Fetch the control script:
    curl -O -k https://raw.githubusercontent.com/NCAR/chords/master/chords_control
    
    # Initial installation:
    python chords_control --config
    python chords_control --update
    
    # To run CHORDS:
    python chords_control --run
    
    # To stop CHORDS:
    python chords_control --stop
    
    # To reconfigure and update:
    cd <chords_dir>
    curl -O -k  https://raw.githubusercontent.com/NCAR/chords/master/chords_control
    python chords_control --config
    python chords_control --update
    python chords_control --stop
    python chords_control --run
    Now point your browser at the IP of the the system. localhost will often work as the IP, if the browser is on the same system. Be sure to use http:// (not https://).
  • Install Docker for Windows
  • Run Docker (it may take a minute to start up).
  • Install Python 2.7.
  • Unpack curl. into a directory of your choice.
  • Add C:\Python27 to the Path environment variable.
  • Add the curl directory to the Path environment variable.
  • Open a PowerShell, and:
    mkdir <chords_dir>
    cd <chords_dir>
    
    # Fetch the control script:
    curl -O -k https://raw.githubusercontent.com/NCAR/chords/master/chords_control
    
    # Initial installation:
    python chords_control --config
    python chords_control --update
    
    # To run CHORDS:
    python chords_control --run
    
    # To stop CHORDS:
    python chords_control --stop
    
    # To reconfigure and update:
    cd <chords_dir>
    curl -O -k  https://raw.githubusercontent.com/NCAR/chords/master/chords_control
    python chords_control --config
    python chords_control --update
    python chords_control --stop
    python chords_control --run
    Now point your browser at the IP of the the system. localhost will often work as the IP, if the browser is on the same system. Be sure to use http:// (not https://).
Docker engine
  • Now point your browser at the IP of the the system. Be sure to use http:// (not https://).