mention CLI options in README

This commit is contained in:
Henning Jacobs
2017-01-14 16:38:57 +01:00
parent e24919bf90
commit 6690100f6d
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ push: docker
docker push "$(IMAGE):$(TAG)"
mock:
docker run -it -p 8080:8080 -e MOCK=true "$(IMAGE):$(TAG)"
docker run -it -p 8080:8080 "$(IMAGE):$(TAG)" --mock
scm-source.json: .git
@echo '{"url": "$(GITURL)", "revision": "$(GITHEAD)", "author": "$(USER)", "status": "$(GITSTATUS)"}' > scm-source.json

View File

@@ -78,13 +78,13 @@ You can start the app in "mock mode" to see all UI features without running any
$ pip3 install -r requirements.txt
$ (cd app && npm start &)
$ MOCK=true python3 -m kube_ops_view
$ python3 -m kube_ops_view --mock --debug
You can also run the latest Docker image directly:
.. code-block:: bash
$ docker run -it -p 8080:8080 -e MOCK=true hjacobs/kube-ops-view
$ docker run -it -p 8080:8080 hjacobs/kube-ops-view --mock
Building