Installation

Set up and launch LumenOne with this installation guide.

Picking a Server OS

LumenOne runs on a wide range of operating systems, so pick whichever you are most comfortable using.

Operating System Version Notes
Debian 10 & 11 Tested and recommended. No major complications.
Ubuntu 20.04 LTS, 22.04 LTS Full support, works without a hitch.
Windows Windows 10, Windows Server 2019 Beware of compatibility with certain dependencies.
CentOS 7, 8 Works, but adjustments are sometimes necessary.
Fedora 34 et plus Full support, but often requires recent package updates.

Dependency Installation

apt update -y && apt upgrade -y
apt install nodejs -y && apt install nginx -y && apt install Git -y && apt install npm -y

Download Files

The first step in this process is to access the Nginx site file where the dashboard will be located, and then clone the LumenOne repo.


cd /var/www/
git clone https://github.com/lumenlabss/LumenOne.git

Installation

Now we'll configure LumenOne


First to the LumenOne folder


cd LumenOne

We will now configure LumenOne via config.json, replace hostname by the ip of your VPS, port by the port you want the nodeJS app to use (don't use 8080). Change the secret key to a secure key. If you're using https, change the secure false to secure true.


nano config/config.json
{
  "hostname": "localhost",
  "port": 3000,
  "name": "LumenOne",
  "version": "Pre-Alpha",
  "session": {
    "secret": "secret-key",
    "resave": false,
  "saveUninitialized": false,
  "cookie": {
    "secure": false
    }
  }
}

Tip

To configure the web server (Nginx) go to WebServer


independice nodeJS

Now install independice nodeJS


npm install

Execut LumenOne

Now that the installation is complete, you can run LumenOne


node lumenone.js

or

pm2 lumenone.js