Wiki
This space is to provide resources for the project, such as important links, procedures, hints for other tools involved in each project stage, etc.
Links
Devin’s https://github.com/DevinBayly/vis-seive/ (MAIN)
Carolina’s https://github.com/carolinarr/vis-sieve (temporary)
PDF Storage - https://data.cyverse.org/dav-anon/iplant/home/baylyd/vis_sieve/
Label Studio - http://149.165.169.100:8080/
CSR account: c.roe email, low sec password
Project Stages
- url gathering
- pdf retrieval
- (get figs?)
- visualization
1. URL Gathering Stage
https://github.com/DevinBayly/vis-seive
2. PDF grabbing
Cyverse Datastore link https://data.cyverse.org/dav-anon/iplant/home/baylyd/vis_sieve/
Example python hear_me_ROR_script.py
run:
python hear_me_ROR_script.py 2017 2018 --database ../database/publications.db --content_root ../database/content
python hear_me_ROR_script.py --help
to see all the options
3. labeling
http://149.165.169.100:8080/user/login/
go ahead adn try to log in to and attempt to label a few things
4. Visualization Stage
Observable Framework
more details to come, but https://observablehq.com/framework/what-is-framework is a promising start. Note, it’s recommended to setup a code space from the vissieve repo.
https://devinbayly.observablehq.cloud/hello-duckdb/vissieve-test
Procedures
Docker Container + Reload Setup Instructions
- Follow "Setup docker container" instructions here:
https://github.com/DevinBayly/vis-sieve/tree/main/visualization
BUT use this docker command instead:
docker run -it --rm --mount type=bind,source="$(pwd)",target=/place -p 8080:8080 ghcr.io/devinbayly/vis_sieve_d3
- Notes
- ghcr = github-container-registry
- See devin's repo to view what's installed in container when you open it: https://github.com/DevinBayly/github-ci/blob/main/vis_sieve_d3
- If you open with docker command from vis-sieve repo (not updated command mentioned above), then you would run the following commands instead (once docker container opens):
- apt update
- apt install npm
- note: takes awhile
- npm install -g reload
- note: -g makes it global, so that any directory we go into we can run this reload command
- Notes
- Navigate to 'place' folder: cd place
- Run the reload command: reload
- Open browser and input URL: localhost:8080
- Change index.html file, and whenever you save, page should update
-
To exit:
- I think 'Ctrl + C' to exit reload?
- I think 'exit' to exit docker container?
Database Information
Notion Shortcut
To indent bulleted list - Tab
To unindent bulleted list - Shift + Tab