This is the Center for Research Libraries instance of VuFind®.
VuFind® is an open source discovery environment for searching a collection of records. To learn more, visit https://vufind.org.
CRL uses MAMP for local development.
git clone
this repository.PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`
export PATH="/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH"
memory_limit = 2048M
error_reporting = E_ALL
display_errors = On
sendmail_path = "env -i /usr/sbin/sendmail -t -i"
date.timezone = "Europe/Helsinki"
error_log = /Users/[your id]/Library/Logs/php_errors.log
[opcache]
opcache.enable=0
[XDebug]
xdebug.remote_enable=true
xdebug.remote_autostart=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.show_exception_trace=0
local/httpd-vufind.conf.sample
to /Applications/MAMP/conf/apache/extra/httpd-vufind.conf
/Applications/MAMP/conf/apache/httpd.conf:
Include /Users/crl/Projects/vufind/local/httpd-vufind.conf
composer install
php install.php
./solr.sh start
Navigate to: http://localhost/vufind/Install/Home.
If the installation was successful, you should see an "Auto Configure" screen (pictured below). Some items on the list will be marked "Failed" with "Fix" links next to them. Review each item and follow the prompts.
Auto Configure
As of this writing, all VuFind style development is done using LESS.
To compile LESS, ensure grunt is installed and run grunt less
local/import/import.sh
will do a complete wipe and rebuild of the solr index, which may take multiple days. Use with caution.local/import/incremental.sh
will fetch changes since the last import. This can be run frequently.local/harvest/crl/last_harvest.txt
. This file can be manually manipulated for special needs. For example, running a complete in-place re-harvest (allowing exsiting index data to remain while all records are re-fetched) can be accomplished by setting the date in local/harvest/crl/last_harvest.txt
to a time in the very distanct past and running local/import/incremental.sh
.