Glynn offers you a bin to easily send a jekyll powered blog to your host through FTP.
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, this is my _config.yml file :
markdown: rdiscount
pygments: true
auto: true
ftp_host: dmathieu.com
ftp_dir: /web/portfolio
Glynn will connect itself to the host "dmathieu.com" and send every file to the FTP directory /web/portfolio. To do yo, 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 :)
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.
Damien MATHIEU :: 42 (AT|CHEZ) dmathieu.com