CORD19-Search-Engine

ISC-446 final project

Project Requirements

How to execute the project

  • Clone this repository by running:

    git clone https://github.com/lyriad/CORD19-Search-Engine.git
  • Add the neccessary environment variables in a .env in the root directory:

    MONGO_URI_1=mongodb://localhost:27017/db
    MONGO_URI_2=mongodb://localhost:27017/db_2
  • Execute the project by running:

    • Note: keep in mind that after installing new dependencies and adding them in the requirements.txt you'll have to run docker-compose up --build.
    docker-compose up

    Note: To run it as a daemon

    docker-compose up -d

    The server will be up and running in port 5000.

  • Once you are done with the project run

    docker-compose down

    environment variables

    • MONGO_URI_1: URI of the database could be hosted online or local
    • MONGO_URI_2: URI of the database could be hosted online or local