Hidden tips 001
Tuesday, November 22, 2011hidden tips
1, install ruby-1.9.3 on Mac OSX Lion via rvm
rvm install 1.9.3 --with-gcc=clang
2, package name with underscore in buildout, should be replace underscore to DASH, for example pyramid_jinja2 in buildout.
[versions] pyramid-jinja2 = 1.2
3, install proxychains on Mac OSX Lion via homebrew
download my Proxychains Formula, and run brew install proxychains
4, setting pyramid_debugtoolbar.
If the request’s REMOTE_ADDR is not 127.0.0.1, u should add config debugtoolbar.hosts in your .ini file, for example:
debugtoolbar.hosts = 127.0.0.1 192.168.0.116