forked from EWC-consortium/eudi-wallet-rfcs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: George J Padayatti <[email protected]>
- Loading branch information
1 parent
398f091
commit 7dc6078
Showing
4 changed files
with
1,173 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CONTAINER_SWAGGER ?= "openapi" | ||
|
||
TERM_FLAGS ?= -ti | ||
|
||
EXTRA_RUN_ARGS ?= | ||
|
||
CONTAINER_DEFAULT_RUN_FLAGS := \ | ||
--rm $(TERM_FLAGS) \ | ||
$(EXTRA_RUN_ARGS) \ | ||
-v $(CURDIR):/usr/share/nginx/html:ro | ||
|
||
|
||
.DEFAULT_GOAL := help | ||
.PHONY: help | ||
help: | ||
@echo "------------------------------------------------------------------------" | ||
@echo "EWC Wallet API documentation" | ||
@echo "------------------------------------------------------------------------" | ||
@grep -E '^[0-9a-zA-Z_/%\-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
run: ## Run dashboard locally for development purposes | ||
docker run \ | ||
$(CONTAINER_DEFAULT_RUN_FLAGS) \ | ||
-p 5000:80 \ | ||
--name "${CONTAINER_SWAGGER}" \ | ||
nginx:alpine |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.