utkarshcmu / grafana.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grafana.org website

To build

  • npm install
  • npm install -g bower (if you do not have bower installed)
  • bower install
  • install hugo (Static site gen):
curl -sSL https://github.com/gohugoio/hugo/releases/download/v0.30.2/hugo_0.30.2_Linux-64bit.tar.gz \
	| sudo tar -v -C /usr/local/bin -xz \
  && sudo chmod 755 /usr/local/bin/hugo \
  && /usr/local/bin/hugo version
  • grunt : default grunt tasks builds dev build (needed at least first time)
  • grunt connect: starts dev web server on port 3002 (must always be running to be able to run blog locally)
  • grunt watch: will do partial rebuild when modifying sass/html/md files

To build the Docker image for docs:

make docs-build

To publish

sudo pip install awscli

You'll need a awsconfig as well. Ask and you should find.

To staging

./publish.sh

To production

./publish.sh prod

About


Languages

Language:CSS 59.2%Language:JavaScript 23.3%Language:HTML 16.0%Language:Shell 0.7%Language:Makefile 0.4%Language:Dockerfile 0.4%