Skip to content

seocahill/ember-fastboot-pwa

Repository files navigation

Build Status Maintainability Test Coverage

Ember fastboot PWA demo

This is based on the code for my portfolio site www.seocahill.com

Progressive web app

lighthouse-report

You can read more about progressive web apps here.

Don't forget assets are cached indefinitely even offline (until version is updated in ember-cli-build.js) so you will need to enable service worker update on reload in dev-tools for code reloading to work.

Server rendering

Ember fastboot is ember's server side rendering solution, read more here

The deployment strategy is to download the latest app from an s3 bucket. The user should then be prompted to update to the latest version (dont' forget to bump the version before deploying!).

Docker stack

The stack is setup to run in development at www.seocahill.dev and blog.seocahill.dev over ssl with self signed certs.

There is a script included for generating ssl certs you'll need to update your hosts file also to get the stack up and running.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd seocahill
  • npm install
  • bower install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

docker stack deploy my-site-and-blog

ember deploy staging --activate

Also need s3 credentials set (see deploy.js)

Further Reading / Useful Links

About

Demo of ember fastboot progressive web app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published