Skip to content

Commit

Permalink
add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Jan 31, 2019
1 parent 7a3dc96 commit 60fa3d8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
URL := $(shell cat .envvars | grep "URL=" | grep -oP "http.*")

build:
docker-compose build

run:
docker-compose up -d

open:
@if [ xdg-open ]; then \
xdg-open $(URL); \
else \
open $(URL); \
fi

build-docker:
docker build -t shreddedbacon/credhub-webui .

docker-push:
docker push shreddedbacon/credhub-webui

0 comments on commit 60fa3d8

Please sign in to comment.