Skip to content

how to pull from pubdb

Alex Ma edited this page Oct 14, 2020 · 20 revisions

Pulling objects from pubdb requires downloading two files PANDA-Papers-json.pl.json and PANDA-Presentations-json.pl.json, rerun the data process scripts, and then make a pull request against master.

  1. create a branch "pubdb" or use the existing branch if it is still there

  2. Download the files and rename them

  3. run '''make''' from the repo root directory .

    # You will need to have b4 install in python3.  You can do this using virtualenv
    virtualenv env
    source env/bin/activate
    pip3 install bs4
    # If you haven't activated virtualenv yet
    # You need only do this once per shell
    source env/bin/activate
    
    make
  4. if there aren't any messages, create a pull request against master