This is based on the code for my portfolio site www.seocahill.com
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.
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!).
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.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repositorycd seocahill
npm install
bower install
ember serve
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
docker stack deploy my-site-and-blog
ember deploy staging --activate
Also need s3 credentials set (see deploy.js
)