diff --git a/Makefile b/Makefile index 3fcc5da..48918e0 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,23 @@ .DEFAULT_GOAL := all + build: clean bee pack +hydra: + docker compose -f ./ldap-hydra/docker-compose.yml up -d + +keto: + docker compose -f ./keto/docker-compose.yml up -d + run: bee run -gendoc=true -downdoc=true +run-dev: + bee generate routers && HTTPPORT=8094 bee run -gendoc=true -downdoc=true + +dev: hydra keto run-dev + debug: bee run -downdebug -gendebug diff --git a/README.md b/README.md index 9cdba86..cd60fe1 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ To build : bee generate routers bee run -gendoc=true -downdoc=true +OR + make dev + If default Swagger page is displayed instead of tyour api, change url in swagger/index.html file to : url: "swagger.json" diff --git a/oc-auth b/oc-auth new file mode 100755 index 0000000..d502e11 Binary files /dev/null and b/oc-auth differ