Code Monkey home page Code Monkey logo

glynn's Introduction

Glynn

Glynn offers you a bin to easily send a jekyll powered blog to your host through FTP.
Build Status

Installation

Glynn comes as a gem. It has no dependencies other than the ruby default libraries. Install it with gem install.

gem install glynn --source http://gemcutter.org

That's it! You now have the Glynn executable on your machine. Go to your jekyll project, configure the host and distant directory where the files will be sent. For example, below is my _config.yml file. You can also store these options and FTP credentials in a file called _glynn.yml in the root of your project directory instead of _config.yml if you prefer.

markdown: rdiscount
pygments: true
auto: true

ftp_host: 'dmathieu.com'
ftp_dir: '/web/site/root'
ftp_passive: false

# optional
ftp_port: 21                  # default 21
ftp_username: 'your_user'     # default read from stdin
ftp_password: 'your_ftp_pass' # default read from stdin
ftp_secure: true              # default false

Glynn will connect itself to the host "dmathieu.com" and send every file to the FTP directory /web/portfolio. To do so, you just need to be at the top of your jekyll project. And in a console, enter the following :

glynn

Quite simple again. It'll connect to the remote host, ask you for login and password and send the files :)

You can avoid keeping your login and password in your site configuration by saving it in your ~/.netrc file; Glynn will even offer to save it there for you after the first time you enter it!

Contributing

If you think Glynn is great but can be improved, feel free to contribute. To do so, you can :

  • Fork the project
  • Do your changes and commit them to your repository
  • Test your changes. We won't accept any untested contributions (except if they're not testable).
  • Create an issue with a link to your commits.

And that's it! I'll soon take a look at your issue and review your changes.

Author

Damien MATHIEU :: 42 (AT|CHEZ) dmathieu.com

glynn's People

Contributors

dmathieu avatar mistersourcerer avatar sionleroux avatar 128keaton avatar kaeff avatar sarahhodne avatar mibamur avatar mbudde avatar bfontaine avatar bcole808 avatar dherde avatar asdil12 avatar pzgz avatar mvalipour avatar smpsnr avatar

Watchers

James Cloos avatar  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.