mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Docs: Add command consul agent & fix nomad command
`sudo` is required to enable other drivers like rkt and java while the `-dev` flag enables the agent to run in a standalone mode.
This commit is contained in:
15
README.md
15
README.md
@@ -102,9 +102,18 @@ Nomad binary in the `bin` and `$GOPATH/bin` folders:
|
||||
|
||||
```sh
|
||||
$ make dev
|
||||
...
|
||||
$ bin/nomad
|
||||
...
|
||||
```
|
||||
|
||||
Optionally run Consul to enable service discovery and health checks:
|
||||
|
||||
```sh
|
||||
$ sudo consul agent -dev
|
||||
```
|
||||
|
||||
And finally start the nomad agent:
|
||||
|
||||
```sh
|
||||
$ sudo bin/nomad agent -dev
|
||||
```
|
||||
|
||||
If the Nomad UI is desired in the development version, run `make dev-ui`. This will build the UI from source and compile it into the dev binary.
|
||||
|
||||
Reference in New Issue
Block a user