livequery-models/apps
2025-03-05 15:42:00 -08:00
..
dashboards [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00
__init__.py [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00
app.py [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00
env.sample [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00
README.md [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00
table_list.yaml [STREAM-1055] add demo plotcard app to show latest block number with the udtf 2025-03-05 15:42:00 -08:00

Development

  1. cd your directory

    cd apps
    
  2. Setup a virtual environment

    conda create -n "livequery-models" python=3.9
    
  3. Activate the virtual environment

    conda activate livequery-models
    
  4. Create a .env file from the env.sample file and run,

    set -a; source .env; set +a
    
  5. Install

    pip install -r ../requirements.txt
    
  6. Add PYTHONPATH

    export PYTHONPATH=.
    
  7. Run the app

    wave run app.py
    
  8. Visit the demo at http://localhost:10101/demo