diff --git a/Makefile b/Makefile index b91ca90..9608100 100644 --- a/Makefile +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 243b4e7..8fe7bc9 100644 --- a/README.md +++ b/README.md @@ -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 ```