Differences between revisions 24 and 36 (spanning 12 versions)
Revision 24 as of 2014-02-23 01:54:09
Size: 2275
Editor: rajeevs1992
Comment: mailman 3 does not use buildout.
Revision 36 as of 2018-04-20 06:16:05
Size: 180
Editor: maxking
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/17891351
This is a quick guide to setup a development environment to work on Postorius, Mailman 3's web ui. If all goes as planned, you should be done within ~5 minutes. This has been tested on Ubuntu 11.04 and OS X 10.8.1.  Please note that the Python provided by apple for OSX ''will not work''; you need to install your own version of python (e.g. using fink or macports). The [[../Mac Mailman development setup guide|Mac Mailman development setup guide]] has instructions using homebrew if you need additional instructions.
#pragma page-filename DEV/versions/13303871
Line 4: Line 3:
== Set up your environment == {{{#!wiki warning
'''This guide is obsolete! See [[http://docs.mailman3.org/en/latest/devsetup.html]] to setup mailman3.'''
Line 6: Line 6:
Install the essentials

{{{$ sudo apt-get install bzr python-setuptools python-dev build-essential postfix}}}

Get the sources

{{{
(postorius)$ bzr branch lp:mailman
(postorius)$ bzr branch lp:mailman.client
(postorius)$ bzr branch lp:postorius
(postorius)$ bzr branch lp:~mailman-coders/postorius/postorius_standalone}}}

If you get permission errors on this step, your ssh key is probably not in sync with what is on launchpad.net.

== Install Django ==

{{{
(postorius)$ pip install django==1.4
(postorius)$ pip install django-social-auth}}}


== Set up sources ==

=== GNU Mailman 3 ===

{{{
(postorius)$ cd mailman 
(postorius)$ python setup.py install}}}

If you get no errors you can now start Mailman:

{{{
(postorius)$ bin/mailman start
(postorius)$ cd ..
Line 41: Line 7:

At this point Mailman will not send nor receive any real emails. But that's fine as long as you only want to work on the components related to the ReST client or the web ui.

=== mailman.client (the Python bindings for Mailman's ReST API) ===

{{{
(postorius)$ cd mailman.client
(postorius)$ python setup.py develop
(postorius)$ cd ..}}}

=== Postorius ===

{{{
(postorius)$ cd postorius
(postorius)$ python setup.py develop
(postorius)$ cd ..}}}

== Start the development server ==

{{{
(postorius)$ cd postorius_standalone
(postorius)$ python manage.py syncdb
(postorius)$ python manage.py runserver
}}}

== Profit! ==

Now go to [[http://localhost:8000|http://localhost:8000]] to see the web UI for mailman!
----

 * [[DEV/Mac Mailman development setup guide|Mac Mailman development setup guide]]

----

<<IncludeComments>>

This guide is obsolete! See http://docs.mailman3.org/en/latest/devsetup.html to setup mailman3.

MailmanWiki: DEV/A 5 minute guide to get the Mailman web UI running (last edited 2018-04-20 06:16:05 by maxking)