-
Notifications
You must be signed in to change notification settings - Fork 323
How to: Install Smashing on Ubuntu or Debian
This guide will take you through the steps required in order to get smashing running on a fresh installation of Ubuntu or Debian. This was tested using Ubuntu Server 14.04 LTS, Ubuntu 16.04 LTS and Debian Jessie but should also work for other recent Debian and Ubuntu versions including desktop versions.
sudo apt-get update
sudo apt-get install ruby ruby-dev build-essential nodejs
NodeJS is one of the possible Javascript engines required by execjs. You may try using one of the other choices too (untested).
sudo gem install smashing bundler
mkdir ~/smashing-dashboards && cd ~/smashing-dashboards
smashing new my_sample_dashboard
cd my_sample_dashboard
Go ahead and edit the Gemfile
in your new project's folder and run
bundle install
Ubuntu 14.04 note: when you run into the error
Gem::InstallError: public_suffix requires Ruby version >= 2.0. An error occurred while installing public_suffix (2.0.5), and Bundler cannot continue. Make sure that gem install public_suffix -v '2.0.5' succeeds before bundling.
try running bundle install
again. public_suffix is a dependency of addressable 2.5+ but we only need addressable 2.3. Thus addressable 2.4.0 will be installed and the error goes away.
Run smashing start
and you should be now be able to view your dashboard at http://localhost:3030
or from extern http://YOUR.SERVER.DNS.NAME:3030
- Home
- Dashing Workshop
- Installation
- Widgets
- Configuration
- Security
- Troubleshooting
- Deploying dashboards
- How Tos
- How to: post data to your dashboard and widgets
- How to: Define a data model and store history data to database
- How to: Prevent a job from overlapping with itself
- How to: Send HTML data to your widgets
- How to: Send mysql data to your widgets
- How to: Setup a Graph
- How to: Store data to and display from database
- How to: Update a Dashboard using a spreadsheet
- How to: update dashboard in Django
- How to: Update font awesome fonts from version 3 to 4
- How to: Use New Relic with Dashing
- How to: precompile assets
- Development