Skip to content
train07 edited this page Jan 3, 2012 · 20 revisions

Setting up your Willet Environment!

Prerequisites not covered

  • Python (2.4+)
  • Git
  • A web browser
  • Tunes

Setup

The following is a guide to help you setup your development environment.

  1. Download Google App Engine: Google App Engine for Python

  2. Git clone the repo willet_referrals: git clone

  3. Create and checkout your own personal branch! Name it something cool, like, "My awesome willet branch!"

  4. Create an app.yaml using our template: sample app.yaml

  5. Create an util/local_consts.py using our template: sample util/local_consts.py

  6. Maybe, create custom apps for Twitter, Facebook, etc. Add API keys/secrets to your util/local_consts.py

  7. Create the required Shopify Apps for testing, add keys/secrets to your util/local_consts.py

Google App Engine

  1. Install dev SDK on your machine.

  2. Create a Google App Engine account.

  3. Create a new Application so that you can deploy and test! Remember what you name your app.

Shopify

  1. Register as a [Shopify Developer / Partner] (http://www.shopify.com/partners/apps).

  2. Make a suh-weeet test store! What do you want to sell? Barbara's is here.

  3. Make a Shopify App so you can test! Post Install Behaviour = Redirect to url. URL is http://app-engine-name.appspot.com/a/shopify?app=SIBTShopify That's all you have to edit!

  4. Copy the API Key and Shared Secret to your util/local_consts.py file (as described above).

Clone this wiki locally