mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
a6e4b537fe
* chore(contributing): add startup * init * cleanup docker file * local * compose works * markdowns * add gateway start on readme * readme done * finish mds * rename/delete compose files * correct docker compose file name * fix links, update contribute, split build/readme into separate files in /guides, add zitadel startup * fix(docker compose): allow .keys folder to not exist * update md's * use docker-compose instead of docker compose as --profile gets ignored * write a message if create key * copy openapi statik.go * explain how to connect in quickstart * Apply suggestions from code review Co-authored-by: Livio Amstutz <livio.a@gmail.com> * sremove subscription service from env.json * Delete caos_local.sh moved to build/local/local.env Co-authored-by: Livio Amstutz <livio.a@gmail.com>
18 lines
471 B
Bash
18 lines
471 B
Bash
#!/bin/bash
|
|
|
|
# ------------------------------
|
|
# sets the client id in environment.json
|
|
# ------------------------------
|
|
|
|
clientid=""
|
|
while [ -z $clientid ]; do
|
|
echo "no from zitadel ==> retry"
|
|
sleep 2
|
|
clientid=$(curl -s http://${HOST}:${PORT}/clientID)
|
|
if [[ "$clientid" != *@zitadel* ]]; then
|
|
echo "invalid response from zitadel ==> retry"
|
|
clientid=""
|
|
fi
|
|
done
|
|
|
|
echo "$(jq ".clientid = $clientid" /environment.json)" > environment.json |