Skip to content
Demo of ember fastboot progressive web app
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
public
scripts
tests
vendor
.bowerrc
.editorconfig
.ember-cli
.eslintrc.js
.gitignore
.travis.yml
.watchmanconfig
Dockerfile
README.md
audit.png
bower.json
docker-compose.yml
docker-stack.yml
ember-cli-build.js
fastboot-server.js
jsconfig.json
package-lock.json
package.json
testem.js
yarn.lock

README.md

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

You can’t perform that action at this time.