Easy deploy your Ember applications via ssh using scp.
Install ember-cli-deploy first:
ember install ember-cli-deployInstall ember-cli-deploy-build for automated building:
ember install ember-cli-deploy-buildThen install ember-cli-deploy-scp plugin
ember install ember-cli-deploy-scpEdit your config/deploy.js file:
module.exports = function(environment){
var ENV = {
};
if (environment === 'production') {
ENV['scp'] = {
username: '<your-username>',
host: '<your-host>',
path: '<your-serverpath>'
}
};
return ENV;
};and start deploying:
ember deploy productionUsername to connect via SSH. required
Host (server address) to connect via SSH. required
Path where latest revision will be deployed to. (All older builds lands in parent directory). required
SSH port on target server, default: 22.
optional
Directory that will be uploaded, default: tmp/deploy-dist/.
optional
Exclude specified files and directories from uploading. optional
More complex logging. optional
Flags to pass to the rsync command, default: rtvu.
optional
