Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created July 3, 2016 22:54
Show Gist options
  • Save bcardarella/66c82ba1651b003689cc2326c99acf62 to your computer and use it in GitHub Desktop.
Save bcardarella/66c82ba1651b003689cc2326c99acf62 to your computer and use it in GitHub Desktop.
How to deploy an ember fastboot app

App Setup

  1. ssh into server
  2. git clone the repo
  3. Configure {nginx,apache,etc} to forward requests to the fastboot server
  4. Configure {nginx,apache,etc} to fallback to static assets if fastboot is not available

App updates

  1. ssh into server
  2. Bring down fastboot server
  3. git pull
  4. git checkout <tagged-version>
  5. Bring up fastboot server

This should ensure zero-downtime. There will be a period in which your app being served is not fastboot but that should only be true during update. Otherwise the transition should feel seamless.

@Jarred-Sumner
Copy link

Do you have an example nginx config? Would be really helpful :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment