Skip to content

Commit ff0b6ad

Browse files
gouthamvejml
authored andcommitted
Update README for clearer dev. env setup (#756)
Signed-off-by: Goutham Veeramachaneni <[email protected]> Remove Bazel instructions as Bazel doesn't currently work.
1 parent 52af5d2 commit ff0b6ad

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

README.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff 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

2938
Cortex will sit behind an nginx instance exposed on port 30080. A job is deployed to scrape it itself. Try it:
3039

3140
http://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

4944
We use `dep` to vendor dependencies. To fetch a new dependency, run:

0 commit comments

Comments
 (0)