Health Universe
  • Core Concepts
    • Overview of Health Universe
    • How Health Universe Works
  • Building Apps in Health Universe
    • Getting started with Health Universe
      • Create a Health Universe Account
      • Create a Github Account
      • Link your Github Account to your Health Universe Account
    • Creating a Workspace
    • Developing your Health Universe App
      • Streamlit vs FastAPI
      • Working in Streamlit
        • Typical Project Setup
        • Your First Health Universe App
        • Streamlit Best Practices
      • Working in FastAPI
        • Typical Project Setup
        • Your First Health Universe App
        • Navigator FastAPI best practices
    • Deploying your app to Health Universe
      • Deploying to Health Universe
      • Secret Management
      • Connecting to an LLM
      • Connecting to an external data source
  • Testing your app
  • Re-deploying your app
  • Document your app
  • Deleting your App on Health Universe
  • Additional resources
    • Data Formats, Standards & Privacy
    • External Tools and Libraries
Powered by GitBook
On this page

Was this helpful?

Re-deploying your app

PreviousTesting your appNextDocument your app

Last updated 21 days ago

Was this helpful?

Deploy vs Redeploy

The first time that you create an app, you should deploy the app within Health Universe. Health Universe creates a secure container for the app, configures that virtual environment, compiles the code, and does a number of configurations to make sure that they app runs within the Navigator or Health Universe environment.

Once you've successfully deployed an app, you should use re-deploy. This allows you to update and change the code, but the rest of the app container and configuration remains the same. Redeployment is the most efficient (and effective) way to incorporate changes in your code. If you deploy the same app multiple times, you'll get unstable behaviors in Navigator, and difficultly in finding (and using) the apps that you've deployed.

1. Push Changes to GitHub

Before redeploying, make sure all your updates are committed and pushed to your app's GitHub repository:

git add .
git commit -m "Your update message"
git push origin main

🔁 Ensure you're pushing to the branch connected to your Health Universe app (usually main).

2. Redeploy on Health Universe

Once your changes are live on GitHub:

  • Go to your app on .

  • On the left-hand side menu, click Deployments.

  • Find and click the production deployment box.

  • Click the gear icon in the top right corner of the Production box.

  • Select Redeploy.

3. Review Deployment Logs

  • After triggering a redeploy, click the Build Logs box to open it.

  • Review the logs to confirm the app is rebuilding and redeploying successfully.

4. Launch Your Updated App

  • Refresh the page after deployment completes.

  • Click Launch to open and verify your changes are live.

Health Universe