Varquest lets you search in question texts, response category codes and labels, variable names and label from questionnaires. It is built on DDI, Apache Solr, Zend Framework, PHP 5, MySQL jQuery, etc.
http://bdq.reseau-quetelet.cnrs.fr/
Due to old and unsupported stack used in this project, all is rebuilded in Docker images to reduce the possible attack scope.
Docker enables isolated install and execution of software stacks, which can be an easy way to install varQuest.
Follow Docker install instructions to install Docker on your machine.
Once you've Docker installed and running, install Docker Compose to set up and orchestrate all services in a single line.
We've created a PHP-FPM image based on PHP 5.3, that contains source code and is available on Docker Hub:
We also use an Apache Solr 1.4 image based on this work: https://github.com/sebstinkeste/solr-1.4
Finally, we use official Nginx and MySQL images for database and frontend:
Clone this repo to you server, and move into:
git clone https://github.com/CDSP-SCPO/BasedeQuestions.git
cd BasedeQuestions/
Copy the quetelet-data
folder in the root directory of this repository cloned before.
docker-compose pull
docker-compose build
It will take a couple of minutes to download or build everything.
Once done, you can run containers with this command:
docker-compose up
You can use -d
option to run containers in the background.
When the services are ready, you can access the frontend interface by connecting on localhost
or the Docker host IP address:
open http://localhost
It could be useful to see the containers logs, you can do it with:
docker-compose logs
Use -f
option to follow the logs output.