Skip to content

sethbergman/polymer-patient-portal

Repository files navigation

Patient Portal UI

This is the Polymer UI for the Patient Portal demo app.

Setup

Make sure you have NPM and Node.js installed.

Install Polymer CLI

npm install -g polymer-cli@next

Install dependencies

bower install

Run application with development server

polymer serve

Build

polymer build

Deployment

I have been using Firebase to host my Polymer apps. It's a very simple setup.

Once I've run the polymer build command, I initialize a new project in Firebase with firebase init and follow the prompts. I don't change the default values, except for the public directory setting.

Running polymer build bundles your files, and makes them accessable from the build/bundled directory.

Then just run firebase deploy -p build/bundled and viola!

Lastly, I will connect my own domain and firebase will provision an SSL on it for free. It doesn't get much simpler than that my friends!

Resources