Add instructions to README for makefile

This commit is contained in:
gmemstr 2017-07-25 08:02:48 -07:00
parent 9d8350e918
commit 84b8831dad
2 changed files with 16 additions and 2 deletions

View file

@ -1,8 +1,14 @@
all:
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
go build src/webserver.go src/admin.go src/generate_rss.go
windows: src/admin.go src/webserver.go src/generate_rss.go
go build -o whiterabbit.exe src/webserver.go src/admin.go src/generate_rss.go
liunx: src/admin.go src/webserver.go src/generate_rss.go
go build -o whiterabbit src/webserver.go src/admin.go src/generate_rss.go
install:
go get github.com/gmemstr/feeds
go get github.com/fsnotify/fsnotify
go get github.com/spf13/viper
go get github.com/gorilla/mux

View file

@ -30,11 +30,19 @@ to produce a product that is easy to deploy and easier to use when hosting a pod
## building
```
make install
make
./webserver
```
**non-make**
```
go get github.com/gmemstr/feeds
go get github.com/fsnotify/fsnotify
go get github.com/spf13/viper
go get github.com/gorilla/mux
go build webserver.go generate_rss.go
go build webserver.go generate_rss.go admin.go
./webserver
```