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
+12-16Lines changed: 12 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -12,41 +12,37 @@
12
12
Leverage and extend your investment in NATS infrastructure to deploy functions and services, turning NATS into the ultimate platform for building distributed applications.
13
13
14
14
## Prerequisites
15
+
15
16
### Taskfile
17
+
16
18
Nex uses [Task](https://taskfile.dev) for building, testing, and releasing. You can install Task by following the
On linux, once downloaded, you can extract the archive and run the following commands to install it:
25
-
```shell
26
-
unzip protoc-xxx.zip -d protoc3
27
-
sudo cp protoc3/bin/* /usr/local/bin/
28
-
sudo cp protoc3/include/* /usr/local/include/
29
-
```
27
+
The included Taskfile has a task defined for downloading and installing the required dependencies.
30
28
31
-
Also make sure to install `protoc-gen-go` by running:
32
29
```shell
33
-
go install google.golang.org/protobuf/cmd/protoc-gen-go
30
+
task install-deps
34
31
```
35
32
36
-
### Go-jsonschema
37
-
Nex uses go-jsonschema for validating the configuration files. You can install it by [following the installation instructions](https://github.com/omissis/go-jsonschema?tab=readme-ov-file#installing)
38
-
39
33
## Getting Started
34
+
40
35
Currently, there are no pre-built binaries available. To build from source, make sure the prerequisites are installed.
41
-
Once you got these dependencies installed and this repository cloned, you can build the `nex` binary with the
36
+
Once you got these dependencies installed and this repository cloned, you can build the `nex` binary with the
42
37
following command:
38
+
43
39
```shell
44
40
task nex
45
41
```
46
42
47
43
With the nex binary built and a local nats server running, we can finally run our node:
0 commit comments