Anonymous user
Getting started with the OpenHatch code (moved): Difference between revisions
Getting started with the OpenHatch code (moved) (view source)
Revision as of 20:29, 8 June 2011
, 12 years ago→Problems with buildout?
Line 46:
Instructions for setting up a virtualenv wrapper:
<
sudo apt-get install virtualenvwrapper python-setuptools
</
Be sure to configure your shell so that pip knows where to find your virtual environments:
<
# in .bashrc or .bash_profile
source /etc/bash_completion.d/virtualenvwrapper
</
Once installed, create your virtual environment for OpenHatch and install the dependencies
<
cd oh-mainline
mkvirtualenv --no-site-packages openhatch
workon openhatch
python boostrap.py
deactivate
</pre>
That ''boostraps'' your environment so that it will always use the virtualenv. Now, just run:
<pre>
./bin/buildout
</
And you should be fine. All future commands from ./bin/* will safely use the virtualenv and ignore Python modules installed systme-wide. (FIXME: Make ''sure'' this is true!)
== Run the tests ==
|