GitXplorerGitXplorer
t

amzn

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
83b89a26bafe50a6a273e3054a182abe1a1e3649

remove patch specificity on ruby version

ttkrajcar committed 11 years ago
Unverified
9f3d14989e8584ba895e63389fb3e94d85a3fb88

Add Foreman

ttkrajcar committed 11 years ago
Unverified
fb8002b8fe54a522c1cdcb5d72cadd302c47a2aa

Add Facebook and Tweet links

ttkrajcar committed 11 years ago
Unverified
ed21f8fd7e27af48c5d429c61c1e35ceb8ff66c8

CVE-2013-4164

ttkrajcar committed 11 years ago
Unverified
00c33910de9e6e666054317c8179a9546f45bf96

refactor more, add API support

ttkrajcar committed 11 years ago
Unverified
578a94235d21ee3189e40157c9d9a17f8848d677

refactor

ttkrajcar committed 11 years ago

README

The README file for this repository.

amzn

A simple Sinatra application designed to help you quickly generate shortened (example: http://amzn.to/HTgg1c) Amazon product links with your affiliate tag. Exposes both a simple webform and an API.

Designed to be hosted on Heroku.

Setting up on Heroku

Assuming you already have a Heroku account set up and the Heroku tools installed, you need a bit.ly account.

  1. Clone this repo - git clone git@github.com:tkrajcar/amzn.git amzn && cd amzn
  2. Create the Heroku app - heroku create my-amzn
  3. Push the code - git push heroku master
  4. Configure your affiliate tag - heroku config:set AMAZON_AFFILIATE_TAG=mytag-20
  5. Configure your bit.ly username - heroku config:set BITLY_LOGIN=mylogin
  6. Configure your bit.ly api key - heroku config:set BITLY_API_KEY=abcde12345
  7. Use and enjoy - heroku open