Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

MissionalDigerati/jp_widget_snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joshua Project Widget Snapshot Rake Script

This Rakefile generates a snapshot of the Joshua Project's widget and crops the image appropriately. The purpose is to circumvent the restrictions on WordPress.com websites that only allow static images in the widget area. To see the final result, check out the following image.

Usage

To run this script, from terminal use the following command:

rake create_snapshot:snap_it -f lib/tasks/create_snapshot.rake

Notes

To run Bundler on a shared host, use the following command:

bundle install --gemfile /directory/of/your/Gemfile --path /directory/to/vendor/gems

If you choose to install your gems in a local directory, make sure to run the rake command with bundle exec.

Requirements

  • Ruby 1.8.7
  • Bundler
  • All gems in the Gemfile
  • A Browshot Account

Development

Questions or problems? Please post them on the issue tracker. You can contribute changes by forking the project and submitting a pull request.

This script is created by Missional Digerati and is under the GNU General Public License v3.

About

A Rakefile that generates a image snapshot of the Joshua Project's widget.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors