Install bjoern on Gentoo

VPS内存小,连uWSGI这种都玩不起,只能玩玩bjoern这个神器了。Bottle.py支持的WSGI容器还真多啊!

  curl -O http://python-distribute.org/distribute_setup.py
  sudo  python distribute_setup.py
  curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
  sudo python get-pip.py
  sudo emerge libev
  CFLAGS=-I/usr/include/libev sudo pip install bjoern

灌了个水的哟。。。

Comments