Skip to content

Testing virtualenv pip install

perrygeo edited this page Apr 3, 2012 · 3 revisions
cd /usr/local/src/madrona
python setup.py sdist
deactivate; cd ~/Desktop; rm -rf test; virtualenv --system-site-packages test; cd test; source bin/activate
pip install --upgrade --no-deps --force-reinstall ~/src/madrona/dist/madrona-4.0a1.tar.gz #madrona  
mkdir src
cd src

dropdb example2 -U postgres
createdb example2 -U postgres # assume this is drawing from a postgis enabled template1

create-madrona-project.py -p madrona_project -a madrona_app -d hestia.ecotrust.org:8000 -c "dbname='example2' user='postgres'"