Project

glynn

0.18
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Deploy a jekyll weblog through ftp
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Glynn

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

Maintenance status
This gem is not maintained anymore. I will transfer the repository to anyone who fixes this issue, and wants to maintain this project.

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