LogoLogo
  • The CHIME App
  • What Is CHIME?
    • The Model
    • Model Parameters
    • Interpreting the Results
  • How do I use it?
    • Basic Tutorial
    • Information Seekers
    • Decision Makers
    • Content Experts
  • Personal Protective Equipment (PPE) Calculator
    • Introduction to Personal Protective Equipment (PPE)
    • PPE Calculator Tutorials
    • How PPE Projections Are Calculated
    • Interpreting PPE Projections
  • Open Source
    • What is Open Source?
    • Making your own CHIME app
      • Making a Repo
      • Building the App Locally
      • Hosting the App
      • Maintaining the App
  • About Us
  • Penn Medicine Predictive Healthcare Team
  • Code for Philly
  • Partners
  • Links
    • Predictive Analytics at Penn (blog)
    • Release Notes
    • Interested in Contributing?
    • Contact Us
Powered by GitBook
On this page
  • Running in Python
  • Running in Docker

Was this helpful?

Export as PDF
  1. Open Source
  2. Making your own CHIME app

Building the App Locally

Now that you have the code, how do you run it on your machine?

PreviousMaking a RepoNextHosting the App

Last updated 5 years ago

Was this helpful?

Running in Python

The app requires python 3.6 or higher. Check what on your machine using your command prompt tool.

FYI, Macs come with python 2.7 installed. If you run python --version you may get 2.7 even if you have newer versions installed. .

Create your python environment

Let's fast track you. In order to avoid installing every package used by the app, you can use pipenv.

First, pipenv.

's a guide to walking through that process.

Running in Docker

We have also "containerized" the app, which means the app can run with a tool called Docker without you needing to install anything (other than docker) on your machine.

The benefit of using Docker is keeping your python environment clean. Python is a on your local machine and most python-based applications require python packages. Docker installs these packages in the container and then builds and runs the container on your machine.

For guidance on running the app on your own machine please see .

version python you have
Here's how to manage python on your Mac
install
Here
tricky tool to manage
Here's a basic installation guide for docker.
Getting Started: Run Locally