mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-16 21:56:43 -05:00
readme: install command for quick usage
Installing the server should be as simple as `go get`, and running it should be as simple as executing the compiled binary. The previous option was a bit round-about.
This commit is contained in:
parent
d74dd6e985
commit
bf06767283
1 changed files with 3 additions and 3 deletions
|
@ -111,11 +111,11 @@ x100 | 100px tall, proportional width | <a href="https://willnorris
|
|||
|
||||
Install the package using:
|
||||
|
||||
go get willnorris.com/go/imageproxy
|
||||
go get willnorris.com/go/imageproxy/cmd/imageproxy
|
||||
|
||||
Once installed, change directories to `$GOPATH/willnorris.com/go/imageproxy` and run the proxy using:
|
||||
Once installed, ensure `$GOPATH/bin` is in your `$PATH`, then run the proxy using:
|
||||
|
||||
go run cmd/imageproxy/main.go
|
||||
imageproxy
|
||||
|
||||
This will start the proxy on port 8080, without any caching and with no host
|
||||
whitelist (meaning any remote URL can be proxied). Test this by navigating to
|
||||
|
|
Loading…
Reference in a new issue