Created
June 13, 2018 14:07
-
-
Save svet-b/a35078d36eaaa18ce4e748ef70e7dd6b to your computer and use it in GitHub Desktop.
Compile Grafana plugin (e.g. status panel) on MacOS
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 | |
# Update npm to latest | |
npm i npm@latest -g | |
# Make sure Sass is installed (requires Ruby) | |
gem install sass | |
$SRCDIR="/opt/codebase/Grafana_Status_panel" | |
# Install npm in local directory | |
cd $SRCDIR | |
npm install | |
# Run grunt (assuming Gruntfile.js and package.json are present) | |
grunt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment