Skip to content

TritonDataCenter/sdc-adminui

Repository files navigation

sdc-adminui

This repository is part of the Triton Data Center project. See the contribution guidelines and general documentation at the main Triton project page.

AdminUI is the Operations Portal for Triton -- the web frontend that provides an interface to the internal APIs. There is some functionality of Triton that is not available in AdminUI and has to be executed through the appropriate API.

Development

You can build sdc-adminui locally on a Mac (or SmartOS) and run it against services running in CoaL:

  • first-time setup:

    git clone git@github.com:TritonDataCenter/sdc-adminui.git
    cd sdc-adminui
    
    make dev
    
    cp etc/config.json.in etc/config.json
    # Modify etc/config.json if you don't use the default coal answers file
    
    # Generate key file
    openssl req -x509 -nodes -subj '/CN=*' -newkey rsa:4096 -sha256 -days 365 \
      -keyout etc/ssl/default.pem -out etc/ssl/default.pem
    
  • building:

    make check
    
    make devrun
    # devrun rebuilds client-side assets and runs server
    
  • testing:

    Open https://localhost:4443 on the browser to access your AdminUI.

License

MPL v. 2. See LICENSE.