summaryrefslogtreecommitdiffstats
path: root/INSTALL.pip
blob: 92b1c7fa20c3ee7b896e6d614a54e59941d4f72d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
* Install virtualenv and pip:
    easy_install virtualenv
    easy_install pip

* Install MySQL:
    sudo apt-get install mysql-client mysql-server

* Install sphinxsearch. See:
    [optional]
    http://sphinxsearch.com/downloads.html
    http://www.hackido.com/2009/01/install-sphinx-search-on-ubuntu.html
    git://github.com/johnl/deb-sphinx-search.git

* Install a virtual environment OUTSIDE of this directory:
    pip install -E ~/env -r osqa-requirements.txt 
[there is discussion on the pinax forums about what it should be outside
the source directory]

* Notice that you will need to register with recaptcha.net and receive
    recaptcha public and private keys that need to be saved in your
    settings_local.py file

* Start your environment:
    source ~/env/bin/activate

* Install mysql-python into your virtualenv, because we can't
automagically install it with pip:
    easy_install --prefix ~/env/ mysql-python

For more information about why pip can't automatically install the
MySQL driver, see this message: http://groups.google.com/group/python-virtualenv/msg/ea988085951c92b3