GithubHelp home page GithubHelp logo

00mjk / lein-ftp-static-deploy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joephayes/lein-ftp-static-deploy

0.0 0.0 0.0 11 KB

A Leiningen plugin to deploy a directory to a remote server folder via FTP

License: MIT License

Clojure 100.00%

lein-ftp-static-deploy's Introduction

lein-ftp-static-deploy

A Leiningen plugin to deploy a directory to a directory on a remote server via FTP.

Usage

To use lein-ftp-static-deploy, you will need to add a new ftp section to you project to your project.clj.

:ftp { :host ~(System/getenv "FTP_DEPLOY_HOST") :user ~(System/getenv "FTP_DEPLOY_USER") :pass ~(System/getenv "FTP_DEPLOY_PASS") :port ~(or (System/getenv "FTP_DEPLOY_PORT") 21) :ftp-static-deploy {:remote-root "THE REMOTE DIRECTORY YOU WANT TO DEPLOY TO" :local-root "LOCAL DIRECTORY YOU WANT TO DEPLOY FROM"}}

Add the following to your :plugins vector:

Environment Variables

  • FTP_DEPLOY_HOST
  • FTP_DEPLOY_USER
  • FTP_DEPLOY_PASS
  • FTP_DEPLOY_PORT - defaults to 21

Deploy

You should now be able to deploy your website to the remote server using the following command:

$ lein ftp-static-deploy

License

Copyright © 2017 Joseph P. Hayes

Released under the MIT license.

lein-ftp-static-deploy's People

Contributors

joephayes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.