summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README39
1 files changed, 23 insertions, 16 deletions
diff --git a/README b/README
index 1acdb67..2d825d2 100644
--- a/README
+++ b/README
@@ -6,12 +6,24 @@ mailman archives.
This is a django project.
+
+Dependencies:
+-------------
+* pymongo
+* bunch
+* Django
+* djangorestframework
+
+
To get it run:
+--------------
+
- Aggregate the static content into their rightfull place:
python manage.py collectstatic
- Start the server:
python manage.py runserver
+
To get it running under virtualenv:
-----------------------------------
# Create the virtualenv
@@ -23,23 +35,18 @@ source bin/activate
easy_install django
easy_install bunch
easy_install urlgrabber
-# Install notmuch -- these are bindings that come with the notmuch C library
-# The easiest way is probably to install them for your OS vendor and then
-# symlink them into the virtualenv similar to this:
-yum install -y python-notmuch
-# Note: on a multiarch system like Fedora, the directories may be lib64 rather
-# than lib on 64 bit systems
-cd lib/python2.7/site-packages
-ln -s /usr/lib/python2.7/site-packages/notmuch .
-# Note: this is the version of notmuch I tested with; others may work
-ln -s /usr/lib/python2.7/site-packages/notmuch-0.11-py2.7.egg-info .
-
-# put the sources there:
-git clone http://ambre.pingoured.fr/cgit/hyperkitty.git/
+easy_install djangorestframework
+
+# Install pymongo and the mongodb database
+sudo yum install -y pymongo mongodb-server
+# Start the mongo database
+sudo service mongod start
+
+# retrieve the sources there:
+bzr branch bzr branch bzr://bzr.fedorahosted.org/bzr/hyperkitty/mongodb
+
# Start it
-cd hyperkitty
-## Put the static content where it should be
-python manage.py collectstatic
+cd mongodb
## Run the server
python manage.py runserver