add vendor & update README.md

This commit is contained in:
henry.chen committed 2018-11-19 10:24:54 +08:00
1 parent 010137ebf5
commit 24d81db8be
674 files changed
+301356 -22

No files matched your search

+10 -2
View File
@@ -12,6 +12,15 @@ config?=/data/eiblog/conf
test:
mongodb:
@if ! docker ps | grep mongodb; then \
docker run -d --name mongodb -v mongo-data:/data/db -p 27018:27017 mongo:3.2; \
fi
run: mongodb
@echo "run eiblog..."
@go build && ./eiblog
build:
@echo "go build..."
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build && \
@@ -61,5 +70,4 @@ ssticket:
makedir:
@mkdir -p $(config)/ssl
clean:
clean: