Skip to content

smart-spectral-matching/ssm-ui-ml

Repository files navigation

SSM Machine Learning UI

Machine Learning UI for Smart Spectral Matching project

Branch Build Coverage
DEV DEV coverage report
QA QA coverage report
MAIN MAIN coverage report

Installation

Authenticating

Some dependencies are stored on private package registries on code.ornl.gov. A personal access token is required in order to install these with Pip.

Create a personal access token on the Preferences > Access Tokens page with read_api or api permissions and save the auto-generated key. This key is only displayed immediately after generating it, so be sure to save it (otherwise a new token will need to be generated).

Using pip to install ssm-ml

Install the private registry package, ssm-ml:

pip install ssm-ml --extra-index-url https://<token name>:<generated token>@code.ornl.gov/api/v4/projects/7791/packages/pypi/simple

Using docker

We need to pass in the credentials for access to the private registry.

Run the following to build the container with the personal access token:

docker login code.ornl.gov:4567
docker build \
    --build-arg GITLAB_USERNAME=<token name> \
    --build-arg GITLAB_PASSWORD=<generated token> \
    -t ssm-ml-ui .

About

Smart Spectral Matching Machine Learning User Interface for Website

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •