@@ -6,7 +6,7 @@ a request redirector that is dedicated for golang.design
66
77The current ` redir ` implementation talks to a redis data store for PV/UV counting,
88as well as short alias storage. In the booting phase, it will read ` REDIR_CONF `
9- from environment variable to identify configuration file (default: ` ./config.yml ` ).
9+ from environment variable to identify configuration file (default: [ ` ./config.yml ` ] ( ./config.yml ) ).
1010
1111` redir ` is designed for the following purpose: serve two major
1212redirectors ` /s ` and ` /x ` (at the moment).
@@ -72,12 +72,12 @@ Moreover, it is possible to visit [`/s`](https://golang.design/s) directly listi
7272` Makefile ` defines different ways to build the service:
7373
7474``` bash
75- make # build native binary
76- make run # assume your local redis is running
77- make build # build docker images
78- make compose # run via docker-compose
79- make compose- down # remove compose stuff
80- make clean # cleanup
75+ make # build native binary
76+ make run # assume your local redis is running
77+ make build # build docker images
78+ make up # run via docker-compose
79+ make down # remove compose stuff
80+ make clean # cleanup
8181```
8282
8383## Troubleshooting
@@ -87,6 +87,7 @@ make clean # cleanup
87871 . make sure you are a member of golang.design
88882 . add ssh public key to your account
89893 . ` git config --global url."[email protected] :".insteadOf "https://github.com/" ` 90+ 4 . add ` export GOPRIVATE=golang.design/x ` to your bash profile (e.g. ` .zshrc ` ).
9091
9192## License
9293
0 commit comments