Repository navigation
docs: refresh publishing and app delivery guidance #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Retake all screenshots on this page. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,6 +4,6 @@ noIndex: false | |
| noContent: false | ||
| --- | ||
|
|
||
| To export a project, click the ellipses (`...`) to the right of the Share & publish button and then click on Download. The downloaded file is in zip format and contains your notebooks (in `.ipynb` format) as well as your other assets. | ||
| To export a project, click the ellipses (`...`) in the project toolbar, hover over **Export as ...**, and click **Project as .zip**. The downloaded file is in zip format and contains your notebooks (in `.ipynb` format) as well as your other assets. | ||
|
|
||
| <VideoLoop src="../assets/docs/f5pdf2VPRqWDvwDM74aY.mp4" /> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace video with just a screenshot with an arrow pointing at "Project as .zip". |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,17 +19,17 @@ Deepnote makes it easy to take your explorations to production. For example: | |
|
|
||
| ### How to schedule a notebook | ||
|
|
||
| 1. Click the calendar icon **Schedule notebook**, which is at the top of the notebook, right next to the **Run notebook** button | ||
| 2. Configure the frequency at which you would like the notebook to run and then click **Save.** | ||
| 1. Click the calendar icon **Schedule notebook**, which is at the top of the notebook, next to the **Run** button | ||
| 2. Enable **Schedule notebook**, configure the frequency at which you want the notebook to run, and then click **Save schedule**. | ||
| 3. Additionally, you can also configure notifications for successful and failed runs, either by email or into Slack. | ||
|
Comment on lines
+22
to
24
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Use one scheduling control name across the documentation.
🤖 Prompt for AI Agents
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is correct, edit the slack.md file so it is consistent.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
set -euo pipefail
slack_file="$(fd -t f '^slack\.md$' . | head -n 1)"
if [ -z "$slack_file" ]; then
echo "docs/slack.md was not found." >&2
exit 1
fi
rg -n -C 6 -i 'schedule|scheduling|run notebook|schedule notebook' "$slack_file"Length of output: 2338
You are interacting with an AI system. |
||
|
|
||
|  | ||
|  | ||
|
|
||
| ### How to know if your scheduled notebook ran successfully | ||
|
|
||
| If an exception is raised during the run, the run is considered failed; otherwise, it's successful. Please note that if an error is raised in a block, the subsequent blocks are not executed. Every run automatically creates a [run snapshot](/docs/run-snapshots) — an immutable record of the notebook's state after execution. You can review snapshots of successful and failed runs from the Runs sidebar or the project logs. | ||
|
|
||
|  | ||
|  | ||
|
|
||
| <Callout status="info"> | ||
| Schedules that fail repeatedly are automatically paused to avoid wasting compute on runs that keep erroring. You can review and re-enable a paused schedule from the scheduling settings. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,29 +14,23 @@ Get started by exploring our [example apps](https://deepnote.com/explore#streaml | |
|
|
||
| There are two ways to get started with Streamlit in Deepnote: | ||
|
|
||
| 1. Drop in existing scripts. Simply drag and drop your `.py` file into your project's **Files section**. Deepnote automatically detects Streamlit apps and begins deployment. In seconds, you'll see your live app in the split-screen preview. | ||
| 1. Drop in existing scripts. Add your `.py` file to your project's **Files** panel in the right sidebar. Deepnote automatically detects Streamlit apps and begins deployment. In seconds, you'll see your live app in the split-screen preview. | ||
| 2. Start from scratch. Create a new `.py` file and write your Streamlit code directly in Deepnote - from simple buttons to complex interactive elements. When ready, click the **Create Streamlit app** button in the upper right corner to deploy. | ||
|
|
||
| Once deployed, use the **Open app button** to see your app in its full shared state. | ||
|
|
||
|  | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't remove but retake. |
||
|
|
||
| ## App status | ||
|
|
||
| Your project's hardware serves your Streamlit apps. The indicator in the upper left corner of the app preview shows three possible states: | ||
| Your project's hardware serves your Streamlit apps. The indicator in the upper left corner of the app preview shows the current state: | ||
|
|
||
| - `Live`: App is deployed and running - visitors can interact immediately | ||
| - `Sleeping`: App is deployed but project hardware is inactive - visitors will wait for initialization | ||
| - `Deploying app`: App is updating and temporarily unavailable | ||
| - `Awake`: The app is deployed and running, so visitors can interact with it. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is also a 'Sleeping' state. |
||
| - `Waking up`: The project hardware is starting and the app is not yet available. | ||
| - `Going to sleep`: The app is becoming unavailable as the project hardware shuts down. | ||
|
|
||
| ## Editing an app | ||
|
|
||
| When you make changes to your app's code, your updates will be reflected immediately in the live app. | ||
|
|
||
| Note: this means anyone viewing your app will see these changes as they happen. If you prefer to control when updates go live, you can disable automatic updates in the Streamlit settings (hamburger icon, Settings) by turning off the **Run on save** option. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep just "This means anyone viewing your app will see these changes as they happen." immediately after the previous sentence ("...live app."). |
||
|
|
||
|  | ||
|
|
||
| ## Sharing an app | ||
|
|
||
| To share your deployed app, click **Settings** and **Copy link**. | ||
|
|
@@ -53,8 +47,6 @@ Streamlit apps often need data to visualize. Deepnote's notebook environment is | |
|
|
||
| Need to update your data regularly? Take advantage of [notebook scheduling](https://deepnote.com/docs/scheduling) to automate your data preparation. | ||
|
|
||
|  | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reshoot instead of removal. |
||
|
|
||
| ## Using integrations | ||
|
|
||
| It is possible to use integrations connected to your project from a Streamlit app. | ||
|
|
@@ -151,7 +143,6 @@ Your Streamlit app shares its environment with your project. If you need to add | |
|
|
||
| ## Limitations | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove whole "Limitations" section." |
||
|
|
||
| - AI support for editing Streamlit files is coming soon! | ||
| - The file upload widget in Streamlit apps is not working - fix is on the way. | ||
| - Some Streamlit built-in features have limited functionality: | ||
| - The **Record a screencast** feature is not available | ||
| - The Streamlit file editor includes an AI assistance panel. | ||
| - The file upload widget is supported in Streamlit apps. | ||
| - The app menu includes a **Record screen** option. | ||
|
Comment on lines
+146
to
+148
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Move supported features out of These bullets describe available features, not limitations. Rename the section to 🤖 Prompt for AI Agents |
||
Uh oh!
There was an error while loading. Please reload this page.