This prototype is a first experiment with Plotly Dash, and it is currently under development at early stages. It is however possible to try it out even if some things may not work properly yet.
After cloning the repo, add a "datasets" folder at the root of the repo.
The example dataset used at the moment can be downloaded here: https://zenodo.org/record/4596345#.Yk2flG5Bz0o.
You can unzip the 'ChroniclItaly_3.0_original.zip', and add the 'CI_newspaper_subcorpora' folder into the 'datasets' folder previously created.
After the example dataset has been added, create a virtual environment from the terminal to install the requirements.txt file, and launch the prototype from the terminal with the following command
python app.py
The process for installing the virtual env can vary depending on your OS. It could be, for example:
- Create venv after navigating to the repo from terminal (only the first time, then just activate it)
python3 -m venv .venv
- Activate venv
source .venv/bin/activate
- Install requirements.txt
pip install -r requirements.txt
- Install playground modules plugin used in prototype
pip install git+https://github.com/DHARPA-Project/kiara_plugin.playground.git
- Launch prototype
python app.py