Tandoor Recipes: Capture version information when installing (#4633)

* Capture version information when installing Tandoor

When installing Tandoor, run the version.py script to record version information.

* Set up Tandoor version earlier

Move Tandoor's version script execution into main install block.
This commit is contained in:
Jason Bolla 2025-05-21 14:12:03 -05:00 committed by GitHub
parent 490dbc725e
commit 9e2441ff53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,6 +75,8 @@ sed -i -e "s|SECRET_KEY=.*|SECRET_KEY=$secret_key|g" \
-e "s|POSTGRES_DB=.*|POSTGRES_DB=$DB_NAME|g" \
-e "s|POSTGRES_USER=.*|POSTGRES_USER=$DB_USER|g" \
-e "\$a\STATIC_URL=/staticfiles/" /opt/tandoor/.env
cd /opt/tandoor
$STD python3 version.py
msg_ok "Installed Tandoor"
msg_info "Install/Set up PostgreSQL Database"