Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

demo-dash-multi-page-penguins with Dash Pages

Screenshot of the multi-page dash app

Usage

Create a new virtual environment:

python -m venv .venv
source venv/bin/activate
python -m pip install --upgrade pip wheel
pip install -requirements.txt

The run the app:

python app.py

Deployment

Git-backed

The app is automatically deployed to RStudio connect using git backed deployment. Make any changes to the code, then run the following:

uv run rsconnect write-manifest dash \
  --overwrite \
  --entrypoint app \
  --exclude .env \
  --exclude **/*.pyc \
  .

⚠️ Remember to update the app/requirements.txt file if you add any new packages.

Programmatic

You can deploy the app using the rsconnect cli:

uv run rsconnect deploy dash \
  --entrypoint app:app \
  --exclude .env \
  --exclude **/*.pyc \
  .