Skip to content

Commit

Permalink
Fix load demo
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 13, 2024
1 parent 7391a34 commit f5e5c88
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/15.0.3-php7.4/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/16.0.5-php8.1/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/17.0.4-php8.1/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/18.0.5-php8.1/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/19.0.3-php8.2/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down
2 changes: 1 addition & 1 deletion images/develop/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function initializeDatabase()
echo "Importing data from `basename ${fileSQL}` ..."
echo "Importing data from `basename ${fileSQL}` ..." >> /var/www/documents/initdb.log
sed -i 's/--.*//g;' ${fileSQL}
sed -i 's/__ENTITY__/1/g;' ${file}
sed -i 's/__ENTITY__/1/g;' ${fileSQL}
mysql -u ${DOLI_DB_USER} -p${DOLI_DB_PASSWORD} -h ${DOLI_DB_HOST} -P ${DOLI_DB_HOST_PORT} ${DOLI_DB_NAME} < ${fileSQL} >> /var/www/documents/initdb.log 2>&1
done

Expand Down

0 comments on commit f5e5c88

Please sign in to comment.