zitadel/build
Silvan e4fe097ec4
fix: add api docs and http handler for openapi files (#1526)
* tests

* chore: set vars for platform in dockerfile

* simplyfy generate

* correct dockerfile

* add openapi to gitignore

* object files

* protos

* update protoc version

* admin only secuity missing

* texts

* start secutiry

* add handler

* add description

* add descriptions and remove adddress

* default limit

* add mapping for openapi

* generate statik for openapi

* remove address converter

* executable

* operator test

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-04-07 08:23:47 +02:00
..
console feat: protos refactoring 2021-03-09 10:30:11 +01:00
cr-backup feat: Merge master (#1260) 2021-02-08 16:48:41 +01:00
login feat: port reduction (#323) 2020-07-08 13:56:37 +02:00
notification feat: Notification translation (#192) 2020-06-09 15:11:42 +02:00
operator feat: Merge master (#1260) 2021-02-08 16:48:41 +01:00
zitadel fix: add api docs and http handler for openapi files (#1526) 2021-04-07 08:23:47 +02:00
.dockerignore chore: docker site gen for docs, update npm base image, fix chrome in docs page, jwt profile (#1019) 2020-12-01 16:35:58 +01:00
docker-compose-debug.yml feat: Merge master (#1260) 2021-02-08 16:48:41 +01:00
docker-compose-dev.yml feat: Merge master (#1260) 2021-02-08 16:48:41 +01:00
dockerfile fix: add api docs and http handler for openapi files (#1526) 2021-04-07 08:23:47 +02:00
README.md feat: protos refactoring 2021-03-09 10:30:11 +01:00

Development

Prerequisite

  • Buildkit compatible docker installation

Generate Proto Clients

Angular

This command generates the grpc stub for angular into the folder console/src/app/proto/generated for local development

DOCKER_BUILDKIT=1 docker build -f build/dockerfile . -t zitadel:local --target npm-copy -o .

Go

With this command you can generate the stub for golang into the zitadel dir

DOCKER_BUILDKIT=1 docker build -f build/dockerfile . -t zitadel:local --target go-copy -o .

Run

Run Angular

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f build/docker-compose-dev.yml up --build angular

Run Go

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f build/docker-compose-dev.yml up --build  go

Fullstack including database

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f build/docker-compose-dev.yml up --build

Debug

Debug Go

COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f build/docker-compose-debug.yml up --build  go

Production Build

This can also be run locally!

DOCKER_BUILDKIT=1 docker build -f build/dockerfile . -t zitadel:local --build-arg ENV=prod