Skip to content

CDSP-SCPO/BasedeQuestions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

varQuest - Base de Questions

Quetelet ProGeDo Diffusion

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/

Docker setup

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.

Docker images

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:

Get this repo

Clone this repo to you server, and move into:

git clone https://github.com/CDSP-SCPO/BasedeQuestions.git
cd BasedeQuestions/

Copy data

Copy the quetelet-data folder in the root directory of this repository cloned before.

Pull official image from Docker Store (recommended way)

docker-compose pull

Or build your own images from the source code

docker-compose build

It will take a couple of minutes to download or build everything.

Create and run containers

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.

Releases

No releases published

Packages

No packages published