Uploading Datasets
If you would like your own JSON output from MACH2 to be included in the homepage of MACH2-Viz, follow the steps below.
I. Generate a JSON
First, to learn how to generate a JSON dataset to upload to MACH2-Viz, see the following link.
II. Modify the MACH2-Viz Repository
- If you haven't already, fork the repository by visiting the following link.
- If you have,
git pull
from themain
branch of MACH2-Viz.
- If you have,
git clone
the forked repository.- Navigate to
src/samples/
, create a folder for your dataset, and put your JSON in the folder. - In
src/samples/mapping.json
, add an entry for your new dataset:
- You can change this to whatever name you would like.
- Likewise, this can be renamed to the name of your study.
- This path is relative to
src/samples/
III. Open MACH2-Viz Locally
From the root of MACH2-Viz, simply run the following command: