node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org ยป

elderissuesrefrigerator-pack

Elder Issues: Cluttered Refrigerator Exercise

Greenkeeper badge

Background

Older Adults module

This interactive is a small piece of the larger Older Adults module of PASS, a population-based approach to patient services and professional success. PASS was a five-year project to build a website with tools to educate pre-doctoral dental students about patient populations and how demographics play into decision of building a successful dental practice. The PASS content and interactives are being migrated to a sustainable home in the Health Resources and Services Administration Train environment.

This and other interactives were developed by the Columbia University College of Dental Medicine in collaboration with the Columbia University Center ror Teaching & Learning (CTL).

REQUIREMENTS

npm webpack

DEV INSTALLATION

  1. Clone the repository
  2. Type make runserver. This command will install the necessary npm modules, build the bundle and spin up Webpack's dev server.
  3. Navigate to http://localhost:8080.
  4. Play around with the interactive!

NPM INSTALLATION

  1. npm install elderissuesrefrigerator-pack
  2. ./node_modules/webpack/webpack.js --output-path <output_path> --config ./node_modules/elderissuesrefrigerator-pack/webpack.config.js
  3. Embed the interactive via an iframe.
<code>
    <iframe src="<server>/<output_path>/index.html"></iframe>
</code>

Configuration

The interactive will alert the user on page navigation if the activity is not yet complete. To turn off this behavior, add a quiet=1 parameter to the url. For example:

<code>
    <iframe src="<server>/<output_path>/?quiet=1"></iframe>
</code>