Skip to content

Commit 0ecfdb3

Browse files
committed
Added streamlit installation config file
1 parent 533ffd0 commit 0ecfdb3

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

examples/streamlit.star

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
# Declarative app config for Streamlit apps, install by running
3+
# clace apply --approve github.com/claceio/clace/examples/streamlit.star
4+
5+
sl_args = {"container_opts": {"cpus": "2", "memory": "512m"}, "spec": "python-streamlit"}
6+
app("/streamlit/spirals", "github.com/streamlit/streamlit-example", git_branch="master", params={"app_name": "Spirals"}, **sl_args)
7+
app("/streamlit/uber", "github.com/streamlit/demo-uber-nyc-pickups", params={"app_name": "NYC Uber Ridesharing Data"}, **sl_args)
8+
app("/streamlit/echarts", "github.com/andfanilo/streamlit-echarts-demo", git_branch="master",
9+
params={"app_file": "app.py", "app_name": "ECharts Demo"}, **sl_args)
10+
app("/streamlit/snowflake", "github.com/syasini/snowflake_cheatsheet",
11+
params={"app_file": "app.py", "app_name": "Snowflake Cheatsheet"}, **sl_args)
12+
app("maps.:", "github.com/chrieke/prettymapp", # uses default domain, eg maps.localhost:/
13+
params={"app_file": "streamlit-prettymapp/app.py", "app_name": "Prettymapp"}, **sl_args)

go.mod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44
module github.com/claceio/clace
55

6-
go 1.23
6+
go 1.23.0
7+
8+
toolchain go1.23.1
9+
710
require (
811
github.com/BurntSushi/toml v1.4.0
912
github.com/Masterminds/sprig/v3 v3.3.0

0 commit comments

Comments
 (0)