]>
Git — Sourcephile - gargantext.git/blob - devops/upgrade/0.0.6.1.sh
3 # To be executed at the root of the project
10 sudo
sed -i "s/buster/bullseye/g" /etc
/apt
/sources.list
12 sudo apt
-yy dist
-upgrade
18 #./bin/psql gargantext.ini < devops/postgres/upgrade/0.0.6.0.sql
19 # exec script haskell upgrade
21 #./bin/psql gargantext.ini < devops/postgres/upgrade/0.0.6.1.sql
22 # ~/.local/bin/gargantext-upgrade
25 sudo
sed -i "s/bullseye/bookworm/g" /etc
/apt
/sources.list
27 sudo apt
-yy dist
-upgrade
28 sudo apt
install -y postgresql
-14 libpq
-dev
29 sed -i "s/DB_PORT = 5432/DB_PORT = 5433/" gargantext.ini
31 DBPASS
=$(grep "DB_PASS" gargantext.ini | sed "s/^.*= //")
34 sudo
-i -u postgres bash
<< EOF
35 psql < 'ALTER ROLE gargantua password \'$DBPASS\'';
39 .
/bin
/psql gargantext.ini
< devops
/postgres
/upgrade
/0.0.6.2.sql