Skip to content

Commit

Permalink
Build logs (#5)
Browse files Browse the repository at this point in the history
Feat: add logs
 - add vendors
 - clean build script
 - fix returned data
  • Loading branch information
andreychuk authored Sep 27, 2016
1 parent db56acc commit 0aad251
Show file tree
Hide file tree
Showing 39 changed files with 4,545 additions and 30 deletions.
33 changes: 33 additions & 0 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ git checkout $1
cd ../
docker build -t $ECR_PATH:$1 ../
docker push $ECR_PATH:$1

6 changes: 5 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ import (
"knowledge-base/router"
"knowledge-base/routes"
"net/http"
"os"

"github.com/gorilla/handlers"
)

func main() {
routes := routes.CreateRoutes()
router := router.NewHatchRouter(routes)
http.ListenAndServe(":3810", router)
loggerRouter := handlers.CombinedLoggingHandler(os.Stdout, router)
http.ListenAndServe(":3810", loggerRouter)
}
18 changes: 18 additions & 0 deletions vendor/github.com/gorilla/handlers/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions vendor/github.com/gorilla/handlers/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 53 additions & 0 deletions vendor/github.com/gorilla/handlers/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

74 changes: 74 additions & 0 deletions vendor/github.com/gorilla/handlers/canonical.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

145 changes: 145 additions & 0 deletions vendor/github.com/gorilla/handlers/compress.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0aad251

Please sign in to comment.