File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,15 @@ curl -sSL "$REPO/compose.yml" -o compose.yml
3131info " Downloading database seed data"
3232curl -sSL " $REPO /data/postgresql/initdb.sql.gz" -o data/postgresql/initdb.sql.gz
3333
34- info " Downloading environment template "
35- curl -sSL " $REPO /.env.run " -o .env.run
34+ info " Downloading docker.env "
35+ curl -sSL " $REPO /docker .env" -o docker .env
3636
37- # ── Generate docker .env with a secure secret key ──────────────────────────────
38- info " Generating secret key "
37+ # ── Generate .env with a secure secret key ────── ──────────────────────────────
38+ info " Generating .env "
3939SECRET_KEY=$( LC_ALL=C tr -dc ' A-Za-z0-9!@#%^&*(-_=+)' < /dev/urandom | head -c 50)
40- sed " s|^SECRET_KEY=.*|SECRET_KEY=$SECRET_KEY |" .env.run > docker.env
41- rm .env.run
40+ cat > .env << EOF
41+ SECRET_KEY=$SECRET_KEY
42+ EOF
4243
4344# ── Install wrapper command ───────────────────────────────────────────────────
4445info " Installing dejacode command to $WRAPPER "
You can’t perform that action at this time.
0 commit comments