This repository contains the code behind Algovera's Streamlit Ocean Compute component that you can use to run Ocean's compute-to-data from Streamlit apps.
conda create -n streamlit-dev -c conda-forge nodejs python=3.8
# Activate the conda environment
conda activate streamlit-dev
# Install streamlit
pip install streamlit
# Install Watchdog for better performance (according to Streamlit)
pip install watchdog
- open two terminal windows/panes, one with the
streamlit_ocean_compute/frontend
folder open, other with the main repo folder - in
frontend
folder, runnpm install
- then
npm start
- then
- in the main repo run
streamlit run streamlit_ocean_compute/__init__.py