Installation Guide: Dashing on Debian Latest
Dashing is a Sinatra-based framework that lets you build beautiful dashboards. It is written in Ruby and is easy to install on Debian.
Follow the below steps to install Dashing on Debian Latest:
Prerequisites
Ensure that you have the following prerequisites installed on your system:
- Ruby (version 2.1 or higher)
- Bundler (a Ruby gem for dependency management)
To install Ruby and Bundler, run the following command:
sudo apt-get install ruby bundler
Install Dashing
Download Dashing from its official website https://dashing.io/.
wget https://github.com/Shopify/dashing/archive/master.zipExtract the downloaded package
unzip master.zipMove to the extracted directory:
cd dashing-masterInstall required gems and bundle them with bundler:
bundle installHere's an example of what your output should look like:
Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... ... Bundle complete! 14 Gemfile dependencies, 108 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed.Run the Dashing server:
dashing startThis will start the server on port 3030 by default.
You can access the dashboard by opening your web browser and typing
localhost:3030in the address bar.Note: If you want to change the default port, you can do so by setting the
PORTenvironment variable. For example, to run the server on port 3000, use the following command:PORT=3000 dashing start
That's it! You have successfully installed Dashing on Debian Latest.
Happy Dash-boarding!