summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 3f3524bcd63f34935f45ae7e600a2e7507970d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
PORT?=8008

install:
	sensible-browser "https://github.com/nicolargo/glances#installation"

test:
	./unitest-all.sh

docs:
	cd docs && ./build.sh

docs-server: docs
	(sleep 2 && sensible-browser "http://localhost:$(PORT)") &
	cd docs/_build/html/ && python -m SimpleHTTPServer $(PORT)

webui:
	cd glances/outputs/static/ && npm install && npm audit fix && npm run build

.PHONY: test docs docs-server