From d95c21ded5d8a7777fcd3b025f49c7b5f9faf511 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 16 Mar 2016 11:45:26 -0600 Subject: [PATCH] Update readme with build script and link to CLI docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05723869c..060bcfc67 100644 --- a/README.md +++ b/README.md @@ -102,14 +102,14 @@ Note: You will need **[Go 1.6](https://golang.org/dl/)** or newer. 2. `cd` into your website's directory 3. Run `caddy` (assumes `$GOPATH/bin` is in your `$PATH`) -If you're tinkering, you can also use `go run main.go`. +If you're tinkering, you can also use `./build.bash && ./ecaddy`. By default, Caddy serves the current directory at [localhost:2015](http://localhost:2015). You can place a Caddyfile to configure Caddy for serving your site. Caddy accepts some flags from the command line. Run `caddy -h` to view the help - for flags. You can also pipe a Caddyfile into the caddy command. + for flags or see the [CLI documentation](https://caddyserver.com/docs/cli). **Running as root:** We advise against this; use setcap instead, like so: `setcap cap_net_bind_service=+ep ./caddy` This will allow you to listen on