Use default conf values if file not found (#1022)

* default conf if no file provided

* move to the config pkg

* rm default config path

* rm log
This commit is contained in:
marpio
2019-02-14 20:32:53 +01:00
committed by Aaron Schlesinger
parent 2cf10c3ead
commit c3d1d14d23
4 changed files with 32 additions and 64 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ build-ver:
GO111MODULE=on CGO_ENABLED=0 go build -mod=vendor -ldflags "-X github.com/gomods/athens/pkg/build.version=$(VERSION) -X github.com/gomods/athens/pkg/build.buildDate=$(DATE)" -o athens ./cmd/proxy
.PHONY: run
run: build
./athens
run:
cd ./cmd/proxy && go run . -config_file ../../config.dev.toml
.PHONY: docs
docs: