New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-deploy-rsync2

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-deploy-rsync2

Deploy Ember app using rsync, with support for revision list, activate, etc...

0.1.1
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-deploy-rsync2

Easily deploy your Ember applications to a remote server using scp via rsync.

Installation

Install ember-cli-deploy first:

ember install ember-cli-deploy

Install ember-cli-deploy-build for automated building:

ember install ember-cli-deploy-build

Install ember-cli-deploy-revision-data to keep track of deployed revisions:

ember install ember-cli-deploy-revision-data

Then install ember-cli-deploy-rsync2 plugin (this plugin)

ember install ember-cli-deploy-rsync2

Usage

Edit your config/deploy.js file:

module.exports = function(environment){
  const ENV = {
  };

  if (environment === 'production') {
    ENV.rsync2 = {
      host: '<host>',
      username: '<username>',
      releasesPath: '<remote-path>'
    }
  }
  return ENV;
};

and start deploying:

ember deploy production

Configuration Options

Option nameDescriptionDefaultExamples
usernameSSH user namerequiredhuafu
hostSSH hostrequiredexample.com
releasesPathPath where all revisions will be uploaded (each revision will be in a separate folder based on the revision name)required/var/www/example.com/revisions
portSSH port222222
sourcePathPath of the directory that will be uploadedtmp/deploy-distsome/local/path
excludeExclude specified files and directories from uploadingnull,['.htaccess', 'private']
includeInclude specified files and directories back from exclude (if exclude is not defined, it'll be set to *)null,images/*
flagsFlags to pass to the rsync commandrtuar
currentPathName of the symbolic link that will be created, pointing to the current deployed version. It can be relative to the releasesPath, or absolute. The created link will be relative anywaycurrent../current
revisionFileName of the remote file which will hold the list of revisions. This file is relative to the releasesPathrevisions.json../rev-manifest.json
deployerFormatFormat string for the deployer ({userFullName}, {userName} and {user} are possible variables, {user} will be replaced with the user full name if found, else user name{user}Huafu

Keywords

ember-addon

FAQs

Package last updated on 24 Jan 2017

Did you know?

Socket

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.

Install

Related posts