Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.12 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.12 KB

ozz

Install

  1. Setup middlewares.
make compose
  1. Install hydra commands.
cd $GOPATH/src/github.com/ory/hydra
HYDRA_LATEST=$(git describe --abbrev=0 --tags)
git checkout $HYDRA_LATEST

dep ensure -vendor-only
go install \
    -ldflags "-X github.com/ory/hydra/cmd.Version=$HYDRA_LATEST -X github.com/ory/hydra/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/hydra/cmd.GitHash=`git rev-parse HEAD`" \
    github.com/ory/hydra
  1. Install oathkeeper commands.
cd $GOPATH/src/github.com/ory/oathkeeper
OATHKEEPER_LATEST=$(git describe --abbrev=0 --tags)
git checkout $OATHKEEPER_LATEST
dep ensure -vendor-only
go install \
    -ldflags "-X github.com/ory/oathkeeper/cmd.Version=$OATHKEEPER_LATEST -X github.com/ory/oathkeeper/cmd.BuildTime=`TZ=UTC date -u '+%Y-%m-%dT%H:%M:%SZ'` -X github.com/ory/oathkeeper/cmd.GitHash=`git rev-parse HEAD`" \
    github.com/ory/oathkeeper

  1. hydra clients 作成
make hydra.clients.import
  1. oathkeeper 作成
make oathkeeper.rules.import

Getting Started

  1. Run client .
make client
  1. Run server.
make server