Skip to content

Instantly share code, notes, and snippets.

@phagedorn
Last active August 29, 2015 14:05
Show Gist options
  • Save phagedorn/c153acf206eef0ab9849 to your computer and use it in GitHub Desktop.
Save phagedorn/c153acf206eef0ab9849 to your computer and use it in GitHub Desktop.
Install grafana master on debian wheezy 64
#!/bin/bash
echo "- Install prerequirements"
echo "-- Install build tools"
apt-get update
apt-get install -y build-essential git curl
echo "-- Install NodsJS"
curl -sL https://deb.nodesource.com/setup | bash -
apt-get -y install nodejs
echo "- Build Grafana"
echo "-- Checkout Grafana sources"
git clone https://github.com/grafana/grafana
cd grafana
echo "- Install Grafana dependency "
npm install
npm install -g grunt-cli
echo "-- Build JS and CSS Files"
grunt
grunt build
grunt release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment