Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# python-demo test

before running any stage you will need to set up a 'CS_TOKEN' env var containing an Codesphere API key.
before running any stage you will need to set up a 'CS_TOKEN' env var containing a Codesphere API key.

# open backend api docs

`/api/docs` or `/api/redoc`

# another section

...

2 changes: 1 addition & 1 deletion ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ run:
command: . ./env && cd backend && uv run uvicorn app:app --port 3000 --host
0.0.0.0 --workers 2
plan: 8
replicas: 1
replicas: 2
isPublic: false
api-docs:
steps:
Expand Down
6 changes: 3 additions & 3 deletions frontend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
API_URL = f"http://ws-server-{os.getenv('WORKSPACE_ID', 123456)}-backend.workspaces:3000/api/data"

st.set_page_config(
page_title="Streamlit Demo",
page_icon="🎈",
page_title="Porsche Demo",
page_icon="🎉",
layout="wide"
)

Expand Down Expand Up @@ -42,7 +42,7 @@ def fetch_data(url: str, points: int):
return pd.DataFrame()


st.header(f"Interactive {chart_type}")
st.header(f"Mein neues {chart_type}")
st.write(f"Displaying a chart with {num_points} random data points.")


Expand Down