Last active
August 29, 2015 14:05
-
-
Save phagedorn/c153acf206eef0ab9849 to your computer and use it in GitHub Desktop.
Install grafana master on debian wheezy 64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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