Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
/ glynn Public archive

Unmaintained. See the README - Generate your jekyll blog files and sends them through FTP

License

Notifications You must be signed in to change notification settings

dmathieu/glynn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unmaintained. See the README - Generate your jekyll blog files and sends them through FTP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages