Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
foursquare 2 weibo
Python JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
httplib2
iron_worker
poster
static
templates
.gitignore
LICENSE
Procfile
README.md
config.py.sample
f2w.psd
foursquare.py
itsdangerous_session.py
model_api.py
requirements.txt
schedule_worker.py
update_worker.py
weibo.py
worker.py
wsgi.py

README.md

f2w

foursquare 2 weibo for appfog.

warning

only for testing or private use, please do not spread your working site.

todo

  • streaming api?
  • mail triger
  • unit test

local testing

web

virtualenv ../f2w-env
source ../bin/activate
pip install -r requirements.tx
sudo python wsgi.py

worker

python worker.py

deploy to appfog

runtime

  • python
  • flask

addons

  • MongoDB
  • IronWorker

prepare foursuare

prepare weibo

config

cp config.py.sample config.py
vim config.py

update worker

python update_worker.py

schedule worker

python schedule_worker.py # run this only once!

deploy site

af login
af update {APP_NAME}
af start {APP_NAME}
Something went wrong with that request. Please try again.