Skip to content

Commit f9dab70

Browse files
Feature/enable deploy button (#787)
* Add deployment button gif * Move deploy button in app menu docs * Update image borders in app-menu.md * Sync streamlit.json with release branch --------- Co-authored-by: snehankekre <[email protected]>
1 parent 98a919d commit f9dab70

21 files changed

+12057
-4
lines changed

content/library/advanced-features/app-menu.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: ⋮ App menu
33
slug: /library/advanced-features/app-menu
44
---
55

6-
# App menu
6+
# <i style={{ verticalAlign: "-.25em", fontSize: "1em" }} className={{ class: "material-icons-sharp" }}>more_vert</i> App menu
77

88
Streamlit provides a configurable menu within your app to access convenient tools for developers and viewers. By default, you can access developer options from the app menu when viewing an app locally or on Streamlit Community Cloud while logged into an account with administrative access. While viewing an app, click the icon in the upper-right corner to access the menu.
99

@@ -123,10 +123,26 @@ Reset your app's cache by clicking "**Clear cache**" from the app's menu or by p
123123

124124
### Deploy this app
125125

126-
If you are running an app locally from within a git repo, you can deploy your app to Streamlit Community Cloud in a few easy clicks! Make sure your work has been pushed to your online GitHub repository before beginning. For the greatest convenience, make sure you have already created your [Community Cloud account](/streamlit-community-cloud/get-started/create-your-account) and are signed in. Click "**Deploy this app**" to be taken directly to Community Cloud's "Deploy an app" page. Your app's repository, branch, and file name will be prefilled to match your current app! Learn more about [deploying an app](/streamlit-community-cloud/deploy-your-app) on Streamlit Community Cloud.
126+
If you are running an app locally from within a git repo, you can deploy your app to Streamlit Community Cloud in a few easy clicks! Make sure your work has been pushed to your online GitHub repository before beginning. For the greatest convenience, make sure you have already created your [Community Cloud account](/streamlit-community-cloud/get-started/create-your-account) and are signed in.
127127

128-
<div style={{ maxWidth: '30%', margin: 'auto' }}>
129-
<Image src="/images/app-menu/app-menu-deploy-XL.png" alt="Rerun" clean />
128+
1. Click "**Deploy**" next to the app menu icon (<i style={{ verticalAlign: "-.25em" }} className={{ class: "material-icons-sharp" }}>more_vert</i>).
129+
130+
<div style={{ maxWidth: '90%', margin: '0 2em 0 2em' }}>
131+
<Image src="/images/app-menu/app-menu-deploy.png" alt="Settings" />
132+
</div>
133+
134+
2. Click "**Deploy now**".
135+
136+
<div style={{ maxWidth: '90%', margin: '0 2em 0 2em' }}>
137+
<Image src="/images/app-menu/app-menu-deploy-1.png" alt="Settings" />
138+
</div>
139+
140+
3. You will be taken to Community Cloud's "Deploy an app" page. Your app's repository, branch, and file name will be prefilled to match your current app! Learn more about [deploying an app](/streamlit-community-cloud/deploy-your-app) on Streamlit Community Cloud.
141+
142+
The whole process looks like this:
143+
144+
<div style={{ maxWidth: '90%', margin: '0 2em 0 2em' }}>
145+
<Image src="/images/app-menu/deploy-from-local.gif" alt="Settings" />
130146
</div>
131147

132148
## Customize the menu
-6.95 KB
Loading
-4.59 KB
Loading
126 KB
Loading
-41.3 KB
Binary file not shown.
47.1 KB
Loading
-5.68 KB
Loading
-7.05 KB
Loading
2.22 KB
Loading
1.72 KB
Loading

0 commit comments

Comments
 (0)