https://github.com/tedconf/ember-cli-deploy-front-end-builds-pack
Deploy pack for front end builds
https://github.com/tedconf/ember-cli-deploy-front-end-builds-pack
Last synced: about 1 year ago
JSON representation
Deploy pack for front end builds
- Host: GitHub
- URL: https://github.com/tedconf/ember-cli-deploy-front-end-builds-pack
- Owner: tedconf
- License: mit
- Created: 2015-11-05T04:10:12.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T16:20:25.000Z (over 4 years ago)
- Last Synced: 2025-04-13T09:13:12.228Z (about 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 7
- Watchers: 24
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Deprecation Notice
TED has shifted to React and will no longer maintain this application/library. If you wish to continue using this application/library, please create a pull request and repo ownership can be transferred. This repository will be archived at the end of 2022.
# Front end builds pack for Ember.JS
This deploy pack packages all of the addons needed to deploy an Ember.JS
application to a [Frontend Builds](https://github.com/tedconf/front_end_builds)-enabled server.
## Install
```
ember install ember-cli-deploy
ember install ember-cli-deploy-front-end-builds-pack
```
It will ask to overwrite your `config/deploy.js`, enter yes.
## Configure
First, open `config/deploy.js` and enter your application name, staging
hostname, and production hostname.
Next you'll need to make sure you have the following ENV vars set.
ENV | Notes
--- | ---
`FEB_AWS_ACCESS_KEY_ID` | Your FEB AWS key
`FEB_AWS_SECRET_ACCESS_KEY` | Your FEB AWS secret
`FEB_AWS_BUCKET_NAME` | The bucket you are deploying to
`FEB_DEPLOY_KEY` | The path to the key used to sign you front ends
### Ember asset-rev
Since we're deploying assets to S3 you'll want to have asset-rev
pointing to the correct place. You should add the following to
`ember-cli-build.js`.
```javascript
var app = new EmberApp(defaults, {
// Add options here
fingerprint: {
prepend: 'https://s3.amazonaws.com///'
}
});
```
Note you should fill in the correct `BUCKET_NAME` and `APP_NAME`.
## Deploy
Run `ember deploy ` to deploy your Ember app.
Examples:
```
ember deploy production
ember deploy staging
```