Pyramid

Environment

library

BASE=/lab/ztl
cd $BASE
virtualenv lib
. lib/bin/activate
pip install pyramid

library activation in active shell (for starting project and running)

. lib/bin/activate

start project ztlbrain

pcreate --scaffold alchemy ztlbrain
cd ztlbrain
python setup.py develop

initialize db

initialize_ztlbrain_db development.ini

run

pserve development.ini --reload