Deploy your FastBoot Ember applications to DigitalOcean droplets. www.digitalocean.com
Clone or download
iheanyi Merge pull request #10 from iheanyi/refactor/convert-commands-to-task
Refactoring of commands in deploy plugin into runnable task modules.
Latest commit 26aaf45 Jul 8, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
app Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
config Update to latest version of Ember-CLI. Mar 16, 2016
lib Styling changes and fixes for promises. Jun 29, 2016
templates Added support for serving fonts May 20, 2016
tests Update to latest version of Ember-CLI. Mar 16, 2016
vendor Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
.bowerrc Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
.editorconfig Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
.ember-cli Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
.gitignore Get rest of provisioning setup and working, in addition to deploy. Mar 29, 2016
.jshintrc Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
.npmignore Update to latest version of Ember-CLI. Mar 16, 2016
.travis.yml Update to latest version of Ember-CLI. Mar 16, 2016
.watchmanconfig Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
LICENSE.md Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
README.md Fix link to Digital Ocean in README.md Mar 30, 2016
bower.json Update to latest version of Ember-CLI. Mar 16, 2016
ember-cli-build.js Initial Commit from Ember CLI v2.3.0 Mar 2, 2016
index.js Get started on the provisioning for a droplet. Mar 16, 2016
package.json Update package.json Jul 5, 2016
testem.js Update to latest version of Ember-CLI. Mar 16, 2016
testem.json Initial Commit from Ember CLI v2.3.0 Mar 2, 2016

README.md

Ember-cli-deploy-digitalocean

This README outlines the details of collaborating on this Ember addon.

Installation

  • git clone this repository
  • npm install
  • bower install

Environment Variables

  • DO_ACCESS_TOKEN - Your DigitalOcean API key. Generate one here.
  • PRIVATE_KEY_DIR - Location of your private SSH key used for your droplet.
  • PASSPHRASE - Passphrase for the SSH key.
  • DROPLET_USERNAME - Username to log into the droplet as (defaults to root)
  • DROPLET_PASSWORD - Password to log into the droplet as (can be left blank if unused)

Deploying

Run ember do:provision in order to provision a droplet for usage with FastBoot. Note: The best droplet image to use is the Node one-click installer. This step must be run in order for FastBoot to work correctly on your droplet. After this is setup, just run ember deploy <environment> and you're good to go.

Note

Please make sure you also have ember-cli-deploy-build installed. This may be further refined through the use of a lightning pack, but for now, please just install ember-cli-deploy-build as well.

Thanks to Tom and his Elastic Beanstalk plugin for a good starting/reference point.