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.
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.
To get up and running quickly, do the following:
-
Ensure ember-cli-deploy-build is installed and configured.
-
Install this plugin
$ 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
Run the following command in your terminal:
ember install ember-cli-deploy-nanobox-redis-tunnel
For detailed information on how configuration of plugins works, please refer to the Plugin Documentation.
Required – The name of your Nanobox Redis component, e.g. as defined in your Nanobox boxfile.yml
Required – The name of your Nanobox application. Eg the “App name” found by running nanobox remote ls
The Redis port.
Default: 6379