upd: install script

fix import-bible
fix import-heidelberg
This commit is contained in:
2026-06-13 13:41:48 -04:00
parent 743885608d
commit e7c64a5a13
Executable → Regular
+2 -2
View File
@@ -17,7 +17,7 @@ shell_exec("chown -R www-data:www-data /data /var/www/html/var/cache");
// import reference material // import reference material
print "Importing Bible and Eccumenical Creeds".PHP_EOL; print "Importing Bible and Eccumenical Creeds".PHP_EOL;
shell_exec("symfony console app:ingest-bible /var/www/html/references/esv-bible"); shell_exec("symfony console app:import-bible /var/www/html/references/esv-bible");
shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Apostles 'Apostles Creed' creed apc"); shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Apostles 'Apostles Creed' creed apc");
shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Athanasian 'Athanasian Creed' creed ath"); shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Athanasian 'Athanasian Creed' creed ath");
shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Chalcedon 'Definition of Chalcedon' creed dc"); shell_exec("symfony console app:import-ref /var/www/html/references/creeds/Chalcedon 'Definition of Chalcedon' creed dc");
@@ -33,7 +33,7 @@ $dutchStandards = (
if ($dutchStandards) { if ($dutchStandards) {
print "Importing Dutch Standards".PHP_EOL; print "Importing Dutch Standards".PHP_EOL;
shell_exec("symfony console app:import-ref /var/www/html/references/bc Belgic belgic BC{\$ndx}"); shell_exec("symfony console app:import-ref /var/www/html/references/bc Belgic belgic BC{\$ndx}");
shell_exec("symfony console app:import-heidelberg"); shell_exec("symfony console app:import-heidelberg /var/www/html/references/hc");
shell_exec("symfony console app:import-ref /var/www/html/references/cd Canons cd CD"); shell_exec("symfony console app:import-ref /var/www/html/references/cd Canons cd CD");
} }