summaryrefslogtreecommitdiffstats
path: root/README
blob: c5bb9d652bad30540235d71130af3957ab2dbf8c (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
MailMan App
===========

This application aims at providing an interface to visualize and explore
mailman archives.

This is a django project.


Dependencies:
-------------
* Django
* djangorestframework
* psycopg2 (for postgresql)
* sqlalchemy (tested with 0.5.5)
* django-social-auth

To get it run:
--------------

- Aggregate the static content into their rightfull place:
python manage.py collectstatic

- Sync the database
python manage.py syncdb

- Start the server:
python manage.py runserver


To get it running under virtualenv:
-----------------------------------
# Create the virtualenv
virtualenv mailman3
# Activate the virtualenv
cd mailman3
source bin/activate

# Install django and dependencies
easy_install django
easy_install sqlalchemy
easy_install psycopg2
easy_install django-social-auth
easy_install djangorestframework
easy_install django-gravatar

# Install postgresql
sudo yum install postgresql
# Start the database
sudo service postgresql start
# Configure your database as you wish

# retrieve the sources there:
bzr branch bzr://bzr.fedorahosted.org/bzr/hyperkitty/gsoc

# Start it
cd gsoc
# Retrieve the sources from kittystore
git clone https://github.com/pypingou/kittystore.git
# clean them
cd kittystore
rm ./*
mv kittystore/* .
rmdir kittystore

# You will want to configure the access to the database in the settings.py file
# Adjust the variable: KITTYSTORE_URL
vim settings.py

## Run the server
cd ..
python manage.py runserver