Dashing is a framework used to build interactive dashboards with HTML, CSS, and JavaScript. In this tutorial, we will guide you through the installation process of Dashing on a Windows 11 machine.
Prerequisites
Before we proceed with the installation, you need to make sure that the following items are already installed on your computer:
- Ruby (version 2.0 or higher)
- DevKit
- Node.js and npm
Step 1: Install Ruby
- Download the Ruby installer for Windows from the RubyInstaller website.
- Choose the version that matches your operating system (32-bit or 64-bit).
- Run the installer and follow the prompts to complete the installation.
Step 2: Install DevKit
- Download the DevKit version that matches your Ruby installation from the RubyInstaller website.
- Extract the downloaded file to a folder on your computer (for example, C:\DevKit).
- Open the command prompt, and navigate to the folder where you extracted DevKit.
- Run the following commands in sequence:
cd C:\DevKit
ruby dk.rb init
ruby dk.rb install
Step 3: Install Node.js and npm
- Download Node.js installer for Windows from the Node.js website.
- Run the installer and follow the prompts to complete the installation.
Step 4: Install Dashing
- Open the command prompt.
- Install the Dashing gem by running the following command:
gem install dashing
- Wait for the installation to complete.
Step 5: Create a New Dashing Project
- Navigate to the directory where you want to create your new Dashing project.
- Run the following command:
dashing new <project_name>
- Replace
<project_name>
with the desired name of your project.
- Wait for the project to be created.
- Navigate into the new project directory by running the following command:
cd <project_name>
- Install the required gems by running the following command:
bundle install
Step 6: Run the Dashing Server
- To start the Dashing server, run the following command:
dashing start
- Open your web browser and go to
http://localhost:3030
.
- You should see a sample Dashing dashboard.
Congratulations! You have successfully installed Dashing on your Windows 11 machine and created a new Dashing project. You can now customize the dashboard to your liking and build interactive dashboards for your data.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!