zitadel/build
Max Peintner 74ff154b19
feat(console): angular 12, migrate grpc lib, ui element fixes (#1740)
* fix: is default

* fix: feature tile in org, iam, neutral color for info boxes

* lint

* consolidation, ui elements

* feat(console): angular 12, migrate deprecated grpc to @grpc/grpc-js (#1741)

* update cli core

* update material

* mig

* migrate grpc to grpc-js

* audit

* lint

* node lts version, ng12 deprecation

* rem comment

* disable inlinestyles

* fix iam feature link, binding
2021-06-01 07:02:49 +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(operator): make running ZITADEL easy (#1562) 2021-04-22 16:43:34 +00:00
zitadel docs: generate admin api (#1584) 2021-04-15 18:21:46 +02: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 feat(console): angular 12, migrate grpc lib, ui element fixes (#1740) 2021-06-01 07:02:49 +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