Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.01 KB

File metadata and controls

38 lines (31 loc) · 1.01 KB

HeVis

Quickstart

  • Ensure you have Python 3.6+, Node.js, and npm installed.
  • Clone this repo.
  • Create a new Python virtual environment for the template:
$ cd hevis
$ python -m venv venv  # create venv
$ # activate venv:
$ . venv/bin/activate # OR
$ cd venv/Scripts & activate   
$ pip install -r requiriments.txt # install dependences
  • Back to hevis directory, initialize and run the component template frontend:
$ cd frontend
$ npm install    # Install npm dependencies
$ npm run start  # Start the Webpack dev server
  • If necessary, run the following command
$ export NODE_OPTIONS="--max-old-space-size=8192"
  • From a separate terminal, run the HeVis Streamlit app:
$ cd hevis
$ . venv/bin/activate # OR
$ cd venv/Scripts & activate  
$ streamlit run hevis.py  # run the example server
  • Observation: Downloading .eps files requires installing poopler