Sha256: 2026362c422e436a25b3c74c28e8f724fff6c62c89d3af3a8c6c373b66172c24
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 KB
Contents
# RackGyazo This rack application is the server side implementation of the excellent gyazo.com application for taking quick screen shots ## Installation Create a new directory and add a Gemfile. Add this line: gem 'rack_gyazo' And then execute: $ bundle Or install it yourself as: $ gem install rack_gyazo In the same directory create a rack configuration file (config.ru) like the following: ```ruby require 'rubygems' require 'bundler/setup' Bundler.require require 'rack_gyazo' Rack::Gyazo.configure_with({ :adapter_options => { :provider => 'AWS', :aws_access_key_id => "Access Key", :aws_secret_access_key => "Secret Key" }, :bucket => "bucket_name" }) run Rack::Gyazo::Application.new ``` Modify your /Applications/Gyazo.app/Contents/Resources/script to point to your server (at the time of this writing, it can be found at line 41) ```ruby HOST = 'example.com' CGI = '/uploads' ``` ## Usage When you take screenshots with gyazo.app, it will now upload them to s3 ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rack_gyazo-0.1.2 | README.md |
rack_gyazo-0.1.1 | README.md |
rack_gyazo-0.1.0 | README.md |