opencafe/docs/source/getting_started/setting_up_env.rst
John Vrbanac 9082b9b3b4 Adding a quick howto on setting up virtualenvs
Change-Id: I0f49a3e8cd47a9b8303261ccffa0c3e9f260a1fc
2014-01-27 16:56:35 -06:00

1.3 KiB

Setting up a Development Environment

OpenCAFE strongly recommends the use of Python virtual environments for development.

While not required, if you wish to manage your Python versions as well as virtual environments, we suggest the use of pyenv. Instructions on installing pyenv can be found here: installing_pyenv

Building your virtual environment

If you wish to run OpenCAFE in a virtual environment, then you will need to install virtualenv

For easier management of your virtual environments, it is recommended that you install virtualenvwrapper as well.

sudo pip install virtualenvwrapper

Creating virtualenv and installing OpenCAFE

# Requires virtualenv and virtualenvwrapper to be installed
mkvirtualenv OpenCAFE

# Clone OpenCAFE Repo
git clone git@github.com:stackforge/opencafe.git

# Change directory into the newly cloned repository
cd opencafe

# Install OpenCAFE into your virtualenv
pip install . --upgrade

Information regarding the operation of your virtual environment can be found here: working_with_virtualenv