Skip to content
Snippets Groups Projects
Commit 25f60636 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

build.sh tell which php version it is running

parent 5162df99
Branches
Tags
2 merge requests!2334Master,!2094Master
Pipeline #947 passed with stage
in 18 minutes and 15 seconds
......@@ -3,6 +3,7 @@ DBNAME=$1
DBUSER=$2
DBPASS=$3
DBHOST=$4
source ./update.sh
cp config.ini.default config.ini
sed -i "s/sgbd.config.host = localhost/sgbd.config.host = $DBHOST/g" config.ini
......@@ -10,6 +11,9 @@ sed -i "s/sgbd.config.username =/sgbd.config.username = $DBUSER/g" config.ini
sed -i "s/sgbd.config.password =/sgbd.config.password = $DBPASS/g" config.ini
sed -i "s/sgbd.config.dbname =/sgbd.config.dbname = $DBNAME/g" config.ini
touch local.php
php --version
php scripts/upgrade_db.php
cd cosmogramme
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment