You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-12Lines changed: 43 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,17 +38,50 @@ Download the appropriate version for your platform from [releases](https://githu
38
38
You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.
39
39
Ideally, you should install it somewhere in your PATH for easy use. `/usr/local/bin` is the most probable location.
40
40
41
-
#### Homebrew
41
+
#### MacOS
42
+
43
+
`stencil` is available via a Homebrew Tap, and as downloadable binary from the [releases](https://github.com/odpf/stencil/releases/latest) page:
42
44
43
45
```sh
44
-
# Install stencil (requires homebrew installed)
45
-
$ brew install odpf/tap/stencil
46
+
brew install odpf/tap/stencil
47
+
```
48
+
49
+
To upgrade to the latest version:
50
+
51
+
```
52
+
brew upgrade stencil
53
+
```
54
+
55
+
#### Linux
56
+
57
+
`stencil` is available as downloadable binaries from the [releases](https://github.com/odpf/stencil/releases/latest) page. Download the `.deb` or `.rpm` from the releases page and install with `sudo dpkg -i` and `sudo rpm -i` respectively.
58
+
59
+
#### Windows
60
+
61
+
`stencil` is available via [scoop](https://scoop.sh/), and as a downloadable binary from the [releases](https://github.com/odpf/stencil/releases/latest) page:
We provide ready to use Docker container images. To pull the latest image:
76
+
77
+
```
78
+
docker pull odpf/stencil:latest
79
+
```
80
+
81
+
To pull a specific version:
82
+
83
+
```
84
+
docker pull odpf/stencil:v0.2.2
52
85
```
53
86
54
87
## Usage
@@ -59,6 +92,8 @@ Stencil has three major components. Server, CLI and clients. Stencil server and
59
92
60
93
Stencil server provides a way to store and fetch schemas and enforce compatability rules. Run `stencil server --help` to see instructions to manage Stencil server.
61
94
95
+
Stencil server also provides a fully-featured GRPC and HTTP API to interact with Stencil server. Both APIs adheres to a set of standards that are rigidly followed. Please refer to [proton](https://github.com/odpf/proton/tree/main/odpf/stencil/v1beta1) for GRPC API definitions.
96
+
62
97
**CLI**
63
98
64
99
Stencil CLI allows users to iteract with server to create, view, and search schemas. CLI is fully featured but simple to use, even for those who have very limited experience working from the command line. Run `stencil --help` to see list of all available commands and instructions to use.
@@ -96,7 +131,7 @@ $ make help
96
131
$ make build
97
132
98
133
# Init server config
99
-
$ cp app/config.yaml config.yaml
134
+
$ cp config/config.yaml config.yaml
100
135
101
136
# Run database migrations
102
137
$ ./stencil server migrate
@@ -124,7 +159,3 @@ Read our [contributing guide](docs/contribute/contribution.md) to learn about ou
124
159
To help you get your feet wet and get you familiar with our contribution process, we have a list of [good first issues](https://github.com/odpf/stencil/labels/good%20first%20issue) that contain bugs which have a relatively limited scope. This is a great place to get started.
125
160
126
161
This project exists thanks to all the [contributors](https://github.com/odpf/stencil/graphs/contributors).
Copy file name to clipboardExpand all lines: docs/docs/installation.md
+43-22Lines changed: 43 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,60 @@
3
3
Stencil installation is simple. You can install Stencil on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine. There are several approaches to installing Stencil.
4
4
5
5
1. Using a [pre-compiled binary](#binary-cross-platform)
6
-
2. Installing with [package manager](#homebrew)
7
-
3. Installing from [source](#building-from-source)
8
-
4. Installing with [Docker](#using-docker-image)
6
+
2. Installing with [package manager](#MacOS)
7
+
3. Installing with [Docker](#Docker)
8
+
4. Installing from [source](#building-from-source)
9
9
10
10
### Binary (Cross-platform)
11
11
12
12
Download the appropriate version for your platform from [releases](https://github.com/odpf/stencil/releases) page. Once downloaded, the binary can be run from anywhere.
13
13
You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.
14
14
Ideally, you should install it somewhere in your `PATH` for easy use. `/usr/local/bin` is the most probable location.
15
15
16
-
### Homebrew
16
+
### MacOS
17
17
18
-
You can install `stencil`on macOS or Linux using Homebrew:
18
+
`stencil`is available via a Homebrew Tap, and as downloadable binary from the [releases](https://github.com/odpf/stencil/releases/latest) page:
19
19
20
-
```bash
21
-
# Install stencil (requires homebrew installed)
22
-
$ brew install odpf/taps/stencil
20
+
```sh
21
+
brew install odpf/tap/stencil
22
+
```
23
23
24
-
# Upgrade stencil (requires homebrew installed)
25
-
$ brew upgrade stencil
24
+
To upgrade to the latest version:
26
25
27
-
# Check for installed stencil version
28
-
$ stencil version
26
+
```
27
+
brew upgrade stencil
28
+
```
29
+
30
+
#### Linux
31
+
32
+
`stencil` is available as downloadable binaries from the [releases](https://github.com/odpf/stencil/releases/latest) page. Download the `.deb` or `.rpm` from the releases page and install with `sudo dpkg -i` and `sudo rpm -i` respectively.
33
+
34
+
### Windows
35
+
36
+
`stencil` is available via [scoop](https://scoop.sh/), and as a downloadable binary from the [releases](https://github.com/odpf/stencil/releases/latest) page:
We provide ready to use Docker container images. To pull the latest image:
51
+
52
+
```
53
+
docker pull odpf/stencil:latest
54
+
```
55
+
56
+
To pull a specific version:
57
+
58
+
```
59
+
docker pull odpf/stencil:v0.2.2
29
60
```
30
61
31
62
### Building from source
@@ -46,16 +77,6 @@ $ make build
46
77
$ ./stencil version
47
78
```
48
79
49
-
### Using Docker image
50
-
51
-
Stencil ships a Docker image [odpf/stencil](https://hub.docker.com/r/odpf/stencil) that enables you to use `stencil` as part of your Docker workflow.
52
-
53
-
For example, you can run `stencil help` with this command:
54
-
55
-
```bash
56
-
$ docker run odpf/stencil --help
57
-
```
58
-
59
80
### Verifying the installation
60
81
61
82
To verify Stencil is properly installed, run `stencil --help` on your system. You should see help output. If you are executing it from the command line, make sure it is on your `PATH` or you may get an error about Stencil not being found.
0 commit comments