Socket
Socket
Sign inDemoInstall

lets-copy

Package Overview
Dependencies
92
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lets-copy

(S)FTP deployment (syncing) for Lets


Version published
Maintainers
1
Install size
94.9 kB
Created

Readme

Source

lets-copy

Deploy files by copying/syncing them to a remote over SFTP or FTP.

Current status

This project is in early testing phase. Do not rely on it for production/ critical stuff.

Basic example

// Letsfile.js
var letsCopy = require('lets-copy');

module.exports = function (lets) {
  var stage = lets.Stage({
    host: '1.2.3.4',
    username: 'root',
    password: '****',
    remotePath: '/var/www', // Where your files shall be located
    localPath: 'src', // Optional. Which folder relative to the current folder, to sync
    revisionFile: '.REVISION' // Optional. Name of the file storing the last synced commit
  });

  stage.plugin(letsCopy());

  lets.addStage('sitename', stage);
};
$ lets deploy sitename

Keywords

FAQs

Last updated on 25 Sep 2014

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc