Installation using Docker
git clone https://github.com/qresp-code-development/qresp.git cd qresp git checkout master docker-compose up -d --build
Please make sure you edit all the variables in
config.ini to utilize all the capabilities of qresp. If not, you'll still be able to use the explorer section but the curator sections wouldn't work as intended.
See the list of required variables below (with examples).
[GLOBAL] MAIL_ADDR = email@example.com SMTP_SERVER = smtp.gmail.com SMTP_PORT = 587 [PROD] MONGODB_HOST = db.y.com MONGODB_PORT = 27017 MONGODB_USERNAME = username MONGODB_PASSWORD = password MONGODB_DB_NAME = index_name [SECRETS] MAIL_PWD = Password for the MAIL_ADDR (specified above) in the SMTP server
If you don't have the correct ssl certificates, you'll need to remove (or comment) out few lines othwerwise you'll run into build issues. Specifically:
Delete the above mentioned lines or add a
# at the start of each line
We recommend, setting up the MongoDb instance out of the docker services, but you can use docker-compose.yml.services to run both mongodb and nginx containers.
Once the installation is completed, please use your browser to access the Qresp portal using the port number used in docker run. For e.g.,
Once the installation is completed, please use your browser to access the Qresp portal using the address reported in the output.