Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
ember-cli-front-end-builds
Advanced tools
Easily deploy your Ember CLI app to a [front_end_builds](https://github.com/tedconf/front_end_builds) Rails backend.
Easily deploy your Ember CLI app to a front_end_builds Rails backend.
The deploy process involves:
npm install --save-dev ember-cli-front-end-builds
Please make sure you have setup your Rails backend with the front_end_builds gem.
You should also setup the admin area and add your application.
You'll also need to setup a S3 bucket, and allow it to be accessed publicly. Add a policy such as:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::MY-BUCKET-NAME/*"
}
]
}
In your App's Brocfile.js
, you'll want to prepend your asset fingerprinting with your S3 Bucket URL:
var app = new EmberApp({
'fingerprint': {
prepend: "https://s3.amazonaws.com/MY-BUCKET-NAME/dist/"
}
});
Please note that if you are serving assets off S3 and your bucket is
not in the US Standard region your prepend string should be
https://MY-BUCKET-NAME.s3.amazonaws.com/dist/
.
To get started with deploy configuration simply run:
ember deploy:setup
This will ask you a series questions about your application and write a
configuration file to config/deploy.js
.
TODO
{
"production": {
"assets": {
"accessKeyId": "[your-id]",
"secretAccessKey": "[your-key]",
"bucket": "[your-s3-bucket]",
"prefix": "[optional, dir on S3 to dump all assets]",
"distPrefix": "[optional, dir on S3 to put `dist` in e.g. dist-{{SHA}}]"
},
"index": {
"app": "[app name, e.g. ted-ed-lesson-creator]",
"endpoints": [
"[endpoint to notify, e.g. http://local.ted.com:3000/ted-ed-lesson-creator]"
]
}
}
}
To deploy your application just run
ember deploy --environment=ENV
Where ENV is the name of the environment you wish to deploy to.
0.1.0 (Feb 23 2015)
FAQs
Easily deploy your Ember CLI app to a [front_end_builds](https://github.com/tedconf/front_end_builds) Rails backend.
The npm package ember-cli-front-end-builds receives a total of 2 weekly downloads. As such, ember-cli-front-end-builds popularity was classified as not popular.
We found that ember-cli-front-end-builds demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.