]> git.openstreetmap.org Git - osqa.git/blob - INSTALL.pip
Added title for login page and changed prompt for "oppurtunity", may still be in...
[osqa.git] / INSTALL.pip
1 * Install virtualenv and pip:
2     easy_install virtualenv
3     easy_install pip
4
5 * Install MySQL:
6     sudo apt-get install mysql-client mysql-server
7
8 * Install sphinxsearch. See:
9     [optional]
10     http://sphinxsearch.com/downloads.html
11     http://www.hackido.com/2009/01/install-sphinx-search-on-ubuntu.html
12     git://github.com/johnl/deb-sphinx-search.git
13
14 * Install a virtual environment OUTSIDE of this directory:
15     pip install -E ~/env -r osqa-requirements.txt 
16 [there is discussion on the pinax forums about what it should be outside
17 the source directory]
18
19 * Notice that you will need to register with recaptcha.net and receive
20     recaptcha public and private keys that need to be saved in your
21     settings_local.py file
22
23 * Start your environment:
24     source ~/env/bin/activate
25
26 * Install mysql-python into your virtualenv, because we can't
27 automagically install it with pip:
28     easy_install --prefix ~/env/ mysql-python
29
30 For more information about why pip can't automatically install the
31 MySQL driver, see this message: http://groups.google.com/group/python-virtualenv/msg/ea988085951c92b3