ember-cli-deploy-aws-elastic-beanstalk
v1.0.0
Published
This ember addon uploads a zipped file of your project to AWS Elastic Beanstalk
Downloads
3
Maintainers
Readme
ember-cli-deploy-aws-elastic-beanstalk
This addon uploads a zipped file of your project to AWS Elastic Beanstalk
Installation
$ ember install ember-cli-deploy-aws-elastic-beanstalk
Quick Start
- Optional: install ember-cli-deploy-zip to generate an
archive.zip
file automatically - Use the following boilerplate to update
config/deploy.js
if (deployTarget === 'development') {
ENV.build.environment = 'development';
ENV.eb = {
// required:
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY,
REGION: 'us-west-1',
BUCKET: 'dev-example-com',
APPLICATION_NAME: 'example-app',
ENVIRONMENT_NAME: 'dev',
// optional. the plugin automatically defaults to these:
// essentially renames the source file to `ember-deploy-1460673054180.zip`
SOURCE_FILE: 'archive.zip',
TARGET_PREFIX: 'ember-deploy-',
TARGET_POSTFIX: Date.now(),
TARGET_EXTENSION: '.zip'
};
}
- Define
process.env.AWS_ACCESS_KEY_ID
inside a.env
file in the root of your project. Read more
Usage
$ ember deploy <environment> ["optional description"]
For example" ember deploy staging "deploying from my dev machine"