ijmarshall / robotreviewer

Automatic synthesis of RCTs
https://www.robotreviewer.net
GNU General Public License v3.0
140 stars 83 forks source link

Feature/docker compose #45

Closed sgalvezortiz closed 3 years ago

sgalvezortiz commented 3 years ago

Problems

The existing Dockerfile includes several services installed at once and running in a single container. This should be improved using a docker-compose file in order to run RobotReviewer as a stack with separate services with the same standards of deployment that were applied to the other related services.

Solution

The changes in this Pull Request include:

How to test

  1. Follow the instructions at README.md for running RobotReviewer with Docker and test the demo website exposed at http://localhost:5050. Upload some PDFs and verify that the reports are generated correctly.
  2. Using cURL or Postman requests with the configured API-Key, test RobotReviewer API endpoints at http://localhost:5051.
  3. (Optional) Run the update script for Pubmed articles from Trialstreamer while running RobotReviewer locally.