Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Everything is now ready to install Greenspector tools for measures. Three tools are necessary:

  • Greenspector CLI - To run measurement on our testbench

  • Testrunner - To run measurement on local device

  • DashboardCampaign - To generate a result's dashboard

Preparation

Please create two folder for each use:

/home/[username]

GreenspectorTools

Measure

Dashboard

A different location can be chosen. In this case, please remember it for the PATH section of this document.

Download

These tools are available on ​https://app.greenspector.com/ in the module section.

Browse in module section and download each required part at the right location:

  • In Measure folder:

    • greenspector-X.XX.X_darwin-amd64 in Greenspector CLI

    • testrunner-X.X.X_darwin-amd64 in Test Runner

  • In Dashboard folder:

    • dashboardCampagne-X.X.X_darwin-amd64 in Dashboard campaign CLI

    • assets.tar in Definition Assets

    • definition.yml in Definition file Template

    • config.yml in Config file Template

Rename executables for easier use:

  • greenspector-X.XX.X_darwin-amd64 to gspt

  • testrunner-X.X.X_darwin-amd64 to testrunner

  • dashboardCampagne-X.X.X_darwin-amd64 to dashboardCampagne

Unzip assets.tar

Path

As usual to be able to launch these tools from every folder, we have to add them to PATH.

Add the following lines in the .bash_profile file:

export PATH=$HOME/GreenspectorTools/Measure:$PATH
export PATH=$HOME/GreenspectorTools/Dashboard:$PATH

Run the command source ~/.bash_profile to apply changes.

Verification

Use the following commands to verify the installation:

gspt -v
testrunner -v

These commands should show the current version of Greenspector CLI and Testrunner.

DashboardCampagne doesn't have version check for now.

So enter its command without argument:

dashboardCampagne

You should see log messages.

  • No labels