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?

Running in Python

The app requires python 3.6 or higher. Check what version python you have 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. Here's how to manage python on your Mac.

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, install pipenv.

Here'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 tricky tool to manage 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.

Here's a basic installation guide for docker.

For guidance on running the app on your own machine please see Getting Started: Run Locally.

PreviousMaking a RepoNextHosting the App

Last updated 5 years ago

Was this helpful?