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:
parent
490dbc725e
commit
9e2441ff53
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user