Skip to content
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

Update instructions for shiny create #72

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/comp-r-shiny.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ conda install -c conda-forge shiny
```
:::

3. Call `shiny create .` to create an example shiny app in your directory
4. Call `shiny run --reload` to run the app and reload when the source code changes
3. Call `shiny create -t basic-app -d .` to create an example shiny app in your directory. You can also call `shiny create` without arguments to select a different template.
4. Call `shiny run --reload --launch-browser` to run the app and reload when the source code changes

::: callout-tip
### Takeaways
Expand Down
4 changes: 2 additions & 2 deletions docs/install.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ conda update -c conda-forge shiny
In the same directory you created above, run:

```bash
shiny create .
shiny create -t basic-app -d .
```

This will create a basic Shiny application in the current directory, in a file named `app.py`.

To run the app, run this command from the shell:

```bash
shiny run --reload
shiny run --reload --launch-browser
```

This should start your app and also automatically launch a web browser.
Expand Down