mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-23 18:48:19 +00:00

* docs: fix h2c link * Update http2.mdx * testing youtube and knative * docs: video guides for installation * docs: switched to iframe * Update docs/docs/guides/deploy/compose.mdx Co-authored-by: Elio Bischof <eliobischof@gmail.com> * Update docs/docs/guides/deploy/knative.mdx Co-authored-by: Elio Bischof <eliobischof@gmail.com> * Update docs/docs/guides/deploy/macos.mdx Co-authored-by: Elio Bischof <eliobischof@gmail.com> * Update docs/docs/guides/deploy/linux.mdx Co-authored-by: Elio Bischof <eliobischof@gmail.com> Co-authored-by: Elio Bischof <eliobischof@gmail.com>
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
---
|
|
title: MacOS
|
|
---
|
|
|
|
import Disclaimer from './_disclaimer.mdx'
|
|
import DefaultUser from './_defaultuser.mdx'
|
|
import Next from './_next.mdx'
|
|
|
|
## Install CockroachDB
|
|
|
|
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.
|
|
|
|
## Run CockroachDB
|
|
|
|
```bash
|
|
cockroach start-single-node --insecure --background --http-addr :9090 --listen-addr=localhost
|
|
```
|
|
|
|
## Install ZITADEL
|
|
|
|
### Homebrew
|
|
|
|
```bash
|
|
brew install zitadel/tap/zitadel
|
|
```
|
|
|
|
### Download from GitHub
|
|
|
|
Download the ZITADEL release according to your architecture from [Github](https://github.com/zitadel/zitadel/releases/latest)
|
|
|
|
## Unpack the archive
|
|
move to your download location and unpack the archive
|
|
|
|
```bash
|
|
#unpack and copy to /usr/local/bin
|
|
LATEST=$(curl -i https://github.com/zitadel/zitadel/releases/latest | grep location: | cut -d '/' -f 8 | tr -d '\r'); wget -qO- https://github.com/zitadel/zitadel/releases/download/$LATEST/zitadel_Darwin_$(uname -m).tar.gz | tar -xJ zitadel && sudo mv zitadel /usr/local/bin
|
|
```
|
|
|
|
## Run ZITADEL
|
|
|
|
```bash
|
|
ZITADEL_EXTERNALSECURE=false zitadel start-from-init --masterkey "MasterkeyNeedsToHave32Characters" --tlsMode disabled
|
|
```
|
|
|
|
<DefaultUser components={props.components} />
|
|
|
|
## VideoGuide
|
|
<iframe width="100%" height="315" src="https://www.youtube.com/embed/Ob-kBzmezeg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
|
|
<Next components={props.components} />
|
|
<Disclaimer components={props.components} />
|