GitXplorerGitXplorer
t

amzn

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
4f636ec0c931df3159ad6e7b5faa7d829c22c8e1

typo

ttkrajcar committed 11 years ago
Unverified
52c4447e788a4f5e250434b29586b4e359c073e0

incredibly pedantic typo

ttkrajcar committed 11 years ago
Unverified
b25df1de204d6c7e16adfc20b4516e6da7de790d

Improve ASIN matching.

ttkrajcar committed 11 years ago
Unverified
e48a14ce9af6f7ef6c827dd176eb782a0346cd27

typo

ttkrajcar committed 11 years ago
Unverified
5e9e22bf03ce63f8c1f624dc3299becddc58715b

Usage instructions

ttkrajcar committed 11 years ago
Unverified
7272e5413d09eb174a3026d7e146aff02f827359

initial

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