mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 22:58:02 +00:00
fix: improve guides and trigger release to test homebrew (#3683)
This commit is contained in:
parent
0b2dfdd430
commit
f52b0db346
@ -1,7 +1,11 @@
|
|||||||
```bash
|
Download the docker compose example configuration
|
||||||
# Download the docker compose example configuration
|
|
||||||
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/deploy/compose/docker-compose.yml
|
|
||||||
|
|
||||||
# Run the database and application containers
|
```bash
|
||||||
|
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/deploy/compose/docker-compose.yml
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the database and application containers
|
||||||
|
|
||||||
|
```bash
|
||||||
docker compose up
|
docker compose up
|
||||||
```
|
```
|
||||||
|
@ -5,19 +5,28 @@ ZITADEL is tested against CockroachDB v21.2.8.
|
|||||||
|
|
||||||
## Run CockroachDB and ZITADEL
|
## Run CockroachDB and ZITADEL
|
||||||
|
|
||||||
```bash
|
Run a CockroachDB instance
|
||||||
# Run a CockroachDB instance
|
|
||||||
cockroach start-single-node --insecure --background --http-addr :9090
|
|
||||||
|
|
||||||
# Configure your environment
|
```bash
|
||||||
# Generate a master encryption key
|
cockroach start-single-node --insecure --background --http-addr :9090
|
||||||
|
```
|
||||||
|
|
||||||
|
Configure your environment and generate a master encryption key
|
||||||
|
|
||||||
|
```bash
|
||||||
export ZITADEL_EXTERNALSECURE=false
|
export ZITADEL_EXTERNALSECURE=false
|
||||||
export ZITADEL_EXTERNALDOMAIN=localhost
|
export ZITADEL_EXTERNALDOMAIN=localhost
|
||||||
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
||||||
|
```
|
||||||
|
|
||||||
# Download the zitadel binary
|
Download the zitadel binary
|
||||||
curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.3 | grep "browser_download_url.*zitadel_.*_linux_$(dpkg --print-architecture)" | cut -d '"' -f 4 | sudo wget -i - -O /usr/local/bin/zitadel && sudo chmod +x /usr/local/bin/zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel
|
|
||||||
|
|
||||||
# Run the database and application containers
|
```bash
|
||||||
|
curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.6 | grep "browser_download_url.*zitadel_.*_linux_$(dpkg --print-architecture)" | cut -d '"' -f 4 | sudo wget -i - -O /usr/local/bin/zitadel && sudo chmod +x /usr/local/bin/zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel
|
||||||
|
```
|
||||||
|
|
||||||
|
Run the database and application containers
|
||||||
|
|
||||||
|
```bash
|
||||||
zitadel admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters"
|
zitadel admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters"
|
||||||
```
|
```
|
||||||
|
@ -5,16 +5,20 @@ ZITADEL is tested against CockroachDB v21.2.8.
|
|||||||
|
|
||||||
## Run CockroachDB and ZITADEL
|
## Run CockroachDB and ZITADEL
|
||||||
|
|
||||||
```bash
|
Run a CockroachDB instance
|
||||||
# Run a CockroachDB instance
|
|
||||||
cockroach start-single-node --insecure --background --http-addr :9090
|
|
||||||
|
|
||||||
# Configure your environment
|
```bash
|
||||||
# Generate a master encryption key
|
cockroach start-single-node --insecure --background --http-addr :9090
|
||||||
|
```
|
||||||
|
|
||||||
|
Configure your environment and generate a master encryption key
|
||||||
|
|
||||||
|
```bash
|
||||||
export ZITADEL_EXTERNALSECURE=false
|
export ZITADEL_EXTERNALSECURE=false
|
||||||
export ZITADEL_EXTERNALDOMAIN=localhost
|
export ZITADEL_EXTERNALDOMAIN=localhost
|
||||||
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
||||||
export MY_ARCHITECTURE="arm64"
|
export MY_ARCHITECTURE="arm64 or amd64 depeding on your mac"
|
||||||
|
```
|
||||||
|
|
||||||
# Download and Install ZITADEL
|
# Download and Install ZITADEL
|
||||||
|
|
||||||
@ -27,9 +31,11 @@ brew install zitadel/tap/zitadel
|
|||||||
... or download the binary from GitHub
|
... or download the binary from GitHub
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.3 | grep "browser_download_url.*zitadel_.*_darwin_${MY_ARCHITECTURE}" | cut -d '"' -f 4 | sudo wget -i - -O /usr/local/bin/zitadel && sudo chmod +x /usr/local/bin/zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel
|
curl -s https://api.github.com/repos/zitadel/zitadel/releases/tags/v2.0.0-v2-alpha.6 | grep "browser_download_url.*zitadel_.*_darwin_${MY_ARCHITECTURE}" | cut -d '"' -f 4 | sudo wget -i - -O /usr/local/bin/zitadel && sudo chmod +x /usr/local/bin/zitadel && sudo chown $(id -u):$(id -g) /usr/local/bin/zitadel
|
||||||
```
|
```
|
||||||
|
|
||||||
# Run the database and application containers
|
Run ZITADEL
|
||||||
|
|
||||||
|
```bash
|
||||||
zitadel admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters"
|
zitadel admin start-from-init --masterkey "MasterkeyNeedsToHave32Characters"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user