From Source
How to install and configure dash. from source
Prerequisites
To run this repository from source, you need to have the following installed:
- node.js (recommended version 20.x)
- yarn
- git
- speedtest (recommended)
- or alternatively: speedtest-cli
- or alternatively: use local file
Setup
After that, download and build the project (might take a few minutes)
git clone https://github.com/MauriceNino/dashdot \
&& cd dashdot \
&& yarn \
&& yarn build:prodgit clone https://github.com/MauriceNino/dashdot ^
&& cd dashdot ^
&& yarn ^
&& yarn build:prodStart
When done, you can run the dashboard by executing:
sudo -E yarn startFor the most accurate results, it is recommended to start the Cmd as an Admin.
yarn startNote
In case you get a speedtest related error, you might have to accept the license before being able to start your dashboard.
For this, run the following in your terminal:
speedtest --accept-licenseConfiguration
Config options can optionally passed using environment variables.
export DASHDOT_PORT="8080" \
&& sudo -E yarn startset DASHDOT_PORT=8080 ^
&& yarn startUpdate
You can update your Dash. instance, by stopping your instance, then running the following commands and in the end, restart your instance.
git pull --rebase \
&& yarn \
&& yarn build:prodgit pull --rebase ^
&& yarn ^
&& yarn build:prod