Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aBeneggi/AgriPapers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgriPapers

This project provides a keyword-based search engine for agricultural science papers. Articles are ranked by relevance, ensuring that the most closely matching results appear first.

How to install and run

  1. Download Docker Desktop for your OS. Docker Compose will be automatically installed.
  2. Clone or download this repo.
  3. At the root of the project add and edit these two files:
    1. db_setup.env
      POSTGRES_USER=          # User name 
      POSTGRES_PASSWORD=      # User password
      POSTGRES_DB=            # A db name
      
    2. db_conn.env
      DB_HOST=db              
      DB_PORT=5432
      DB_USER=                # 
      DB_PASSWORD=            # Use the parameters defined in the other file
      DB_NAME=                #
      
  4. Start docker, then open the terminal and run:
    docker-compose up
    
    Wait until the build is finished.
  5. The app will be available at localhost:3000