Skip to content

gordonbisnor/ember-cli-deploy-nanobox-redis-tunnel

 
 

Repository files navigation

ember-cli-deploy-nanobox-redis-tunnel

An ember-cli-deploy plugin to upload index.html to a Nanobox machine’s Redis store using nanobox tunnel.

This plugin uploads a file, presumably index.html, to a Redis store using a Nanobox tunnel.

More often than not this plugin will be used in conjunction with the lightning method of deployment where the ember application assets will be served from S3 and the index.html file will be served from Redis.

What is an ember-cli-deploy plugin?

A plugin is an addon that can be executed as a part of the ember-cli-deploy pipeline. A plugin will implement one or more of the ember-cli-deploy's pipeline hooks.

For more information on what plugins are and how they work, please refer to the Plugin Documentation.

Quick Start

To get up and running quickly, do the following:

$ ember install ember-cli-deploy-nanobox-redis-tunnel
  • Place the following configuration into config/deploy.js
ENV['nanobox-redis-tunnel'] = {
  component: 'your redis component name',
  remote: 'your-app-name'
}
  • If you are deploying an Ember application that lives in a separate directory from your server-side application, you may also need to ensure that the Ember app is connected to the Nanobox
nanobox remote add my-app-name
  • Run the pipeline
$ ember deploy

Installation

Run the following command in your terminal:

ember install ember-cli-deploy-nanobox-redis-tunnel

Configuration Options

For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.

component

Required – The name of your Nanobox Redis component, e.g. as defined in your Nanobox boxfile.yml

remote

Required – The name of your Nanobox application. Eg the “App name” found by running nanobox remote ls

port

The Redis port.

Default: 6379

About

An ember-cli-deploy plugin to create an SSH tunnel to a Redis component hosted on Nanobox.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • HTML 18.7%