mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-16 19:53:06 +00:00
* docs(installation): align knative style * some fixes in configure section * show file contents inline
20 lines
879 B
Plaintext
20 lines
879 B
Plaintext
## Download The CockroachDB binary
|
|
|
|
Download a `cockroach` binary as described [in the CockroachDB docs](https://www.cockroachlabs.com/docs/v22.1/install-cockroachdb).
|
|
ZITADEL is tested against CockroachDB v22.1.0 and Ubuntu 20.04.
|
|
|
|
## Run CockroachDB
|
|
|
|
```bash
|
|
cockroach start-single-node --insecure --background --http-addr :9090 --listen-addr=localhost
|
|
```
|
|
|
|
## Run ZITADEL
|
|
```bash
|
|
# Download the zitadel binary
|
|
curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.39 | grep "browser_download_url.*zitadel_Linux_$(uname -i).tar.gz" | cut -d '"' -f 4 | xargs wget -qO - | sudo tar --extract --gzip --overwrite --directory /usr/local/bin zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel
|
|
|
|
# Run the zitadel binary
|
|
ZITADEL_EXTERNALSECURE=false zitadel start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled
|
|
```
|