Skip to content

Commit

Permalink
Make the example on func-e.io pastable into a terminal (#426)
Browse files Browse the repository at this point in the history
Currently it includes the leading $, and includes the whole block, this
change removes the leading $ and splits it into two blocks, one for the
install command, and the other to run func-e

Signed-off-by: Liam Byrne <[email protected]>
  • Loading branch information
morepork authored Mar 23, 2022
1 parent cb39d47 commit 98a2c84
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions site/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ configuration you would use in production. Each time you end a run, a snapshot o
your behalf. This makes knowledge sharing and troubleshooting easier, especially when upgrading. Try it out!

```sh
$ curl https://func-e.io/install.sh | bash -s -- -b /usr/local/bin
$ func-e run -c /path/to/envoy.yaml
# If you don't have a configuration file, you can start the admin port like this
$ func-e run --config-yaml "admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}}"
curl https://func-e.io/install.sh | bash -s -- -b /usr/local/bin
func-e run -c /path/to/envoy.yaml
```

If you don't have a configuration file, you can start the admin port like this:
```sh
func-e run --config-yaml "admin: {address: {socket_address: {address: '127.0.0.1', port_value: 9901}}}"
```

0 comments on commit 98a2c84

Please sign in to comment.