ISC-446 final 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 rundocker-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.
- Note: keep in mind that after installing new dependencies and adding them in the
-
Once you are done with the project run
docker-compose down
MONGO_URI_1
: URI of the database could be hosted online or localMONGO_URI_2
: URI of the database could be hosted online or local