Skip to content

Commit

Permalink
Added make file
Browse files Browse the repository at this point in the history
  • Loading branch information
raushan kumar committed Oct 21, 2019
1 parent 7e10801 commit fddc9ba
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/
**/bin
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

# Image URL to use all building/pushing image targets
IMG ?= raushan2016/etcdexplore

# Build manager binary
manager:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o bin/etcdexplore lucas.go

# Run against the configured Kubernetes cluster in ~/.kube/config
run:
go run ./main.go

docker-all: docker-build docker-push

# Build the docker image
docker-build:
docker build . -t ${IMG}

# Push the docker image
docker-push:
docker push ${IMG}
2 changes: 1 addition & 1 deletion frontend/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const HOME_PAGE = `
</div>
<div class="col-md-4 form" style="min-height:500px" ng-if="json">
<textarea class="data-viewer form-control" ng-model="json.value"></textarea>
<button update-item kv="json" class="btn btn-primary pull-right" style="margin-right:5%;margin-top:8px;">更改</button>
<button update-item kv="json" class="btn btn-primary pull-right" style="margin-right:5%;margin-top:8px;">change</button>
<div>
</div>
</body>
Expand Down

0 comments on commit fddc9ba

Please sign in to comment.