Skip to content

Setting up PeTaL with Docker

Jerry Qian edited this page Sep 24, 2020 · 2 revisions
  1. Install Docker
  1. Clone or download PeTaL repository
  1. Start Docker container
    In your terminal, navigate to your PeTaL repo: cd Downloads/PeTaL
    To start your docker container, run docker-compose up

  2. Open PeTaL site
    Once all dependencies are downloaded and container is up and running in Docker Dashboard, expand drop-down menu on PeTaL container, click the “OPEN IN BROWSER” button on the site labeled “PeTaL_web”, this will open up the PeTaL site

  3. Connect to Neo4j database
    Log in to the Neo4j database by clicking on “OPEN IN BROWSER” on the site labeled “PeTaL_neo4j”, make sure the connection is on a Neo4j “bolt” server, then enter the login credentials
    Username: “neo4j” Password: “life”

  4. Populate the Neo4j database (Bitflow):
    On Docker Dashboard, click on “CLI” on “PeTaL_web”, then run this line to populate the database
    ./run config/mock_species_articles.json
    Ctrl-C once the database has enough articles for testing
    ./run config/search.json

What PeTaL Actually Is

Clone this wiki locally