File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -20,30 +20,25 @@ Additional help can also be found in the [Weave Cloud documentation](https://www
2020
2121## Developing
2222
23- To build & test, install minikube, and run:
23+ To build (requires Docker):
24+ ```
25+ make
26+ ```
2427
25- eval $(minikube docker-env)
26- make
27- kubectl create -f ./k8s
28+ To run the test suite:
29+ ```
30+ make test
31+ ```
32+
33+ To checkout Cortex in minikube:
34+ ```
35+ kubectl create -f ./k8s
36+ ```
2837
2938Cortex will sit behind an nginx instance exposed on port 30080. A job is deployed to scrape it itself. Try it:
3039
3140http://192.168.99.100:30080/api/prom/api/v1/query?query=up
3241
33- ### Experimental Bazel builds
34-
35- We also have early support for Bazel builds. Once you have [ installed
36- bazel] ( https://bazel.build/versions/master/docs/install.html ) , try these commands:
37-
38- make bazel-test
39- make bazel
40-
41- This will require Bazel 0.5.4 or later.
42-
43- Bazel can be useful for running fast, local, incremental builds and tests.
44- Currently [ bazel does not support cross-compiling] ( https://github.com/bazelbuild/rules_go/issues/70 )
45- so it is not used to produce the final binaries and docker container images.
46-
4742### Vendoring
4843
4944We use ` dep ` to vendor dependencies. To fetch a new dependency, run:
You can’t perform that action at this time.
0 commit comments