mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:57:41 +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
|
||||
wget https://raw.githubusercontent.com/zitadel/zitadel/v2-alpha/deploy/compose/docker-compose.yml
|
||||
Download the docker compose example configuration
|
||||
|
||||
# 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
|
||||
```
|
||||
|
@ -5,19 +5,28 @@ ZITADEL is tested against CockroachDB v21.2.8.
|
||||
|
||||
## Run CockroachDB and ZITADEL
|
||||
|
||||
```bash
|
||||
# Run a CockroachDB instance
|
||||
cockroach start-single-node --insecure --background --http-addr :9090
|
||||
Run a CockroachDB instance
|
||||
|
||||
# Configure your environment
|
||||
# Generate a master encryption key
|
||||
```bash
|
||||
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_EXTERNALDOMAIN=localhost
|
||||
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
||||
```
|
||||
|
||||
# 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
|
||||
Download the zitadel binary
|
||||
|
||||
# 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"
|
||||
```
|
||||
|
@ -5,16 +5,20 @@ ZITADEL is tested against CockroachDB v21.2.8.
|
||||
|
||||
## Run CockroachDB and ZITADEL
|
||||
|
||||
```bash
|
||||
# Run a CockroachDB instance
|
||||
cockroach start-single-node --insecure --background --http-addr :9090
|
||||
Run a CockroachDB instance
|
||||
|
||||
# Configure your environment
|
||||
# Generate a master encryption key
|
||||
```bash
|
||||
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_EXTERNALDOMAIN=localhost
|
||||
export ZITADEL_DEFAULTINSTANCE_CUSTOMDOMAIN=localhost
|
||||
export MY_ARCHITECTURE="arm64"
|
||||
export MY_ARCHITECTURE="arm64 or amd64 depeding on your mac"
|
||||
```
|
||||
|
||||
# Download and Install ZITADEL
|
||||
|
||||
@ -27,9 +31,11 @@ brew install zitadel/tap/zitadel
|
||||
... or download the binary from GitHub
|
||||
|
||||
```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"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user