summaryrefslogtreecommitdiffstats
path: root/INSTALL.pip
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-27 11:38:06 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-03-27 11:38:06 -0400
commit9413c12d2126d4f86f2340e458226e72c0d4ecec (patch)
treeb8c6cb667db07cb0247c07a3e09c222f412d6a99 /INSTALL.pip
parentc50f61d34bf8b5431e8557a48b81a57026b3f0da (diff)
parent5c483bace8ac3066b88f2ce7ecb8c95a34aea07d (diff)
downloadaskbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.gz
askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.tar.bz2
askbot-9413c12d2126d4f86f2340e458226e72c0d4ecec.zip
intermediate commit after merge
Diffstat (limited to 'INSTALL.pip')
-rw-r--r--INSTALL.pip31
1 files changed, 31 insertions, 0 deletions
diff --git a/INSTALL.pip b/INSTALL.pip
new file mode 100644
index 00000000..92b1c7fa
--- /dev/null
+++ b/INSTALL.pip
@@ -0,0 +1,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