Lumino Explorer WEB

Pre requisites

  1. Lumino Explorer Api Running
  2. Yarn (Latest Version)

Build RIF Lumino Explorer WEB from code

  1. Get the code from the repo
  2. Go to the path you downloaded or cloned Lumino Explorer’s code (let’s call this path $RIF_LUMINO_EXPLORER_PATH and define $RIF_LUMINO_EXPLORER_WEB_PATH=$RIF_LUMINO_EXPLORER_PATH/lumino-explorer-web)
yarn install

Start your RIF Lumino Explorer WEB

  1. Go to $RIF_LUMINO_EXPLORER_WEB_PATH
  2. Run the following command:
RIF_LUMINO_EXPLORER_WEB_PATH=$YOUR_LUIMNO_API_HOST_AND_PORT yarn start
FIELD DESCRIPTION
$YOUR_LUIMNO_API_HOST_AND_PORT If this parameter is not present, the value that the application will take to invoke services to the api explorer will be http://localhost:8080

After you run yarn command, you will be presented with the following message:

yarn run $YOUR_YARN_VERSION
$ react-scripts start
Starting the development server...
Compiled successfully!

You can now view RIF-Lumino in the browser.

  Local:            http://localhost:3000/
  On Your Network:  http://$YOUR_PUBLIC_IP_MACHINE:3000/

Note that the development build is not optimized.
To create a production build, use yarn build.

Additional help

The following sections are created using an Ubuntu 18.04.2 LTS

Install Yarn

Download: https://yarnpkg.com/en/docs/install#debian-stable)

You will first need to configure the repository:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list

Update your local APT repository:

sudo apt-get update

Install Yarn:

sudo apt-get install --no-install-recommends yarn

Test that Yarn is installed by running:

yarn --version