Skip to main content

Create a dashing.io dashboard on nitrous.io

Dashing.io is a simple ruby based dashboard creation tool with live updates and high quality graphics that look great on HD TVs.

Nitrous.io is a free cloud (browser based) Integrated Development Environment (IDE). I use the free package for this demo and that will work out to be adequate for what we are about to do.

We will walk through the steps of creating a new account on Nitrous.io, creating and running a sample dashing.io dashboard on Nitrous.io.

Step 1: Create an account or login with GitHub account



Step 2: Get Started:


Select 'Ruby on Rails' container

Give it a cool name

Step 3: Select a Plan

I would stick with the free one for this demo.

Step 4: Start the workspace

Step 5: Start the container

Step 6: Open the IDE


Step 7: Install dashing gem

Execute the following commands in the console section in the bottom of the IDE.

gem install dashing
gem install bundler




Step 8: Create a new dashboard

Execute the following commands to create a new dashboard.

#Create a dashboard named ai_dash
dashing new ai_dash


#Change to the dashboard directory
cd ai_dash

#Bundle
bundle install


Step 9: Start the dashboard

#Start the dashboard

dashing start 

Step 10: Configure preview port

Click on 'Preview' menu and 'Configure Ports'


Configure workspace port 3030 to forward to container port 3030. Clicking 'Apply Changes' will restart the container with port 3030 configured.

Step 11: Restart dashing from console. Click on 'Preview' -> Port 3030.

Ta da.


Have fun!


Popular posts from this blog

Create #VirtualPrivateCloud, NAT Instance and NAT Gateways on @AWSCloud

Create a Virtual Private Cloud, NAT instance and the new NAT Gatweay ... and making it all work. This is a YouTube playlist of three videos.

Cheat sheet to create a #VPC and Subnets on @AWSCloud

One of the critical things to remember for working with a AWS VPC is creating and using it. I had hard time remembering how to do it, so, I wrote down a cheat sheet for myself.  If anyone wants to follow along, just navigate to the VPC page on the AWS Console and start with 'Create VPC' button. Please note that this may cost some dollars if you are not on the free tier. If you are on the free tier and make mistakes, it may cost some dollars. In the steps below, we will be creating the following on a new VPC: An internet gateway One public subnet with routes for accessibility from the internet One private subnet without any routes One EC2 web server with Apache installed in it and serving a sample html page - using the public subnet. One EC2 server with the private subnet and security group that allows access to resources running on the public subnet only.  Create VPC Name tag: myVPC CIDR Block: 10.0.0.0/16 Tenancy: default (Must have default. Otherwise, i...

SQL Server tables with JSON

We can indeed store json data as-is into a traditional Microsoft SQL Server database. The document hosted on Microsoft's site left a lot of questions and unknowns that I had to explore and experiment to figure out the right recipe for creating a table to store json, inserting the data as json and querying for the values of individual keys within the json. Here you go:  --Create a table with an identity column and a nvarchat(max) column to store the individual json documents create table dbo.logs (     _id bigint primary key identity,     json_log nvarchar(max) ); --Add a constraint to the json_log column of the table to ensure that the table accepts only json as value to store ALTER TABLE dbo.logs ADD CONSTRAINT [json_log record should be formatted as JSON] CHECK (ISJSON(json_log)=1); --Insert json into the table insert into dbo.logs values ('{"key": "value"}'); insert into dbo.logs values ('{"key": "value1"}'); --Query for al...