Centrální portál knihoven / Central library portal
This software is a source code for the Knihovny.cz portal - discovery portal of Czech libraries, developed by the Moravian Library in Brno. It is based on VuFind open source discovery environment. To learn more about the portal, visit https://www.knihovny.cz. To learn more about VuFind, visit http://vufind.org.
Docker CE
on the left & pick your OS).docker
group, unless you plan to run all docker related commands in privileged mode.Once you've obtained docker, get docker-compose (using pip is probably the easiest method):
pip install docker-compose
Then you'll need to get sources:
git clone https://github.com/moravianlibrary/Knihovny.cz.git
Make some setup:
# Add the hostname beta.knihovny.cz to your /etc/hosts
echo "127.0.0.1 beta.knihovny.cz" | sudo tee -a /etc/hosts
cd Knihovny.cz
# Go and configure your environment for containers
cp docker/local.env.example docker/local.env
vim docker/local.env
# Go and configure your application
cp local/knihovny.cz/config/vufind/config.local.ini.example local/knihovny.cz/config/vufind/config.local.ini
vim local/knihovny.cz/config/vufin/config.local.ini
Build docker images and run application:
bin/run.sh
Build docker images and push them to a private registry:
bin/run.sh --no-run --private-registry
Visit https://beta.knihovny.cz/ in your browser
For more options for building and running the appication see:
bin/run.sh -h