Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit febde0f

Browse files
committed
Use console in code blocks for appropriate code syntax highlighting
Signed-off-by: Jack Baldry <[email protected]>
1 parent 2527cf8 commit febde0f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,47 @@ To generate the YAMLs for deploying Cortex:
88

99
Follow the steps at https://tanka.dev/install. If you have `go` installed locally you can also use:
1010

11-
```
12-
# make sure to be outside of GOPATH or a go.mod project
11+
```console
12+
$ # make sure to be outside of GOPATH or a go.mod project
1313
$ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
1414
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
1515
```
1616

1717
1. Initialise the application and download the cortex jsonnet lib.
1818

19-
```
19+
```console
2020
$ mkdir <name> && cd <name>
2121
$ tk init
2222
$ jb install github.com/grafana/cortex-jsonnet/cortex
2323
```
2424
1. Use the example monitoring.jsonnet.example:
2525

26-
```
26+
```console
2727
$ cp vendor/cortex/cortex-manifests.jsonnet.example environments/default/main.jsonnet
2828
```
2929

3030
1. Check what is in the example:
3131

32-
```
32+
```console
3333
$ cat environments/default/main.jsonnet
3434
...
3535
```
3636

3737
1. Generate the YAML manifests:
3838

39-
```
39+
```console
4040
$ tk show environments/default
4141
```
4242

4343
To output YAML manifests to `./manifests`, run:
4444

45-
```
45+
```console
4646
$ tk export environments/default manifests
4747
```
4848

4949
To generate the dashboards and alerts for Cortex:
5050

51-
```
51+
```console
5252
$ cd cortex-mixin
5353
$ jb install
5454
$ mkdir out

0 commit comments

Comments
 (0)