Visualize data from bike counters in stavanger kommune
A pet project I made to play with Python and Streamlit
See it live at sykkelteller.christianfosli.com
# Set up environment
python -m venv .venv
source .venv/bin/activate # or one of the equivalent script if you prefer powershell / windows
pip install -r requirements-test.txt
# Open project folder in your favorite editor!
First setup environment following the above instructions, then:
streamlit run bike_count.py
docker compose up -d
Or if you're using a recent version of compose you can run with hot-reload support using
docker compose watch
The webapp is built as a docker image and run using Azure Container Apps. The required infrastructure to do this is declared in Bicep, in the infra folder.