File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function update_script() {
4242 mv /opt/tandoor /opt/tandoor.bak
4343 msg_ok " Backup Created"
4444
45- NODE_VERSION=" 20 " NODE_MODULE=" yarn" setup_nodejs
45+ NODE_VERSION=" 22 " NODE_MODULE=" yarn" setup_nodejs
4646 PYTHON_VERSION=" 3.13" setup_uv
4747 fetch_and_deploy_gh_release " tandoor" " TandoorRecipes/recipes" " tarball" " latest" " /opt/tandoor"
4848
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ $STD apt-get install -y --no-install-recommends \
3030 libxmlsec1-openssl
3131msg_ok " Installed Dependencies"
3232
33- NODE_VERSION=" 20 " NODE_MODULE=" yarn" setup_nodejs
33+ NODE_VERSION=" 22 " NODE_MODULE=" yarn" setup_nodejs
3434fetch_and_deploy_gh_release " tandoor" " TandoorRecipes/recipes" " tarball" " latest" " /opt/tandoor"
35- PG_VERSION=" 16 " setup_postgresql
35+ PG_VERSION=" 17 " PG_MODULES= " contrib " setup_postgresql
3636PYTHON_VERSION=" 3.13" setup_uv
3737
3838msg_info " Set up PostgreSQL Database"
@@ -45,6 +45,8 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER TEMP
4545$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
4646$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';"
4747$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET timezone TO 'UTC'"
48+ $STD sudo -u postgres psql -d " $DB_NAME " -c " CREATE EXTENSION IF NOT EXISTS unaccent;"
49+ $STD sudo -u postgres psql -d " $DB_NAME " -c " CREATE EXTENSION IF NOT EXISTS pg_trgm;"
4850{
4951 echo " Tandoor-Credentials"
5052 echo " Tandoor Database Name: $DB_NAME "
You can’t perform that action at this time.
0 commit comments