[Mailman-Developers] need tutorial for setting up python development environment on Ubuntu please
David
dave at fiteyes.com
Fri May 4 21:27:48 CEST 2012
On Fri, May 4, 2012 at 2:10 PM, David <dave at fiteyes.com> wrote:
>
> I also came across this useful tutorial:
> Python Ecosystem - An Introduction
> http://mirnazim.org/writings/python-ecosystem-introduction/
>
Now I found this too:
http://wiki.list.org/display/DEV/mailman3+in+virtualenv
- Added by Toshio
Kuratomi<http://wiki.list.org/display/%7Etoshio@fedoraproject.org>,
last edited by Toshio
Kuratomi<http://wiki.list.org/display/%7Etoshio@fedoraproject.org>on
Mar 12, 2012
<http://wiki.list.org/display/DEV/mailman3+in+virtualenv#page-metadata-start>
* Download all sources by bzr branching::
- lp:mailman
- lp:mailmanweb
- lp:mailman.client
- lp:django_dev_setup
- http://bazaar.launchpad.net/~flo-fuchs/mailmanweb/django_dev_setup/
* Create virtualenv and install django
$ virtualenv mm3
$ cd mm3
$ source bin/activate
$ easy_install django
* Import mailman3 sources
$ cp ~/path/to/source/downloaded .
* Build mailman3:
$ cd mailman
$ python bootstrap.py
$ bin/buildout
$ bin/test ## Some seems to be failing
* Start Mailman:
$ bin/mailman start
$ cd ..
# Ran into this error when running with sqlite:
https://bugs.launchpad.net/mailman/+bug/246867
Changed to postgres according to docs in DATABASE.rst
* Install mailman client
$ cd mailman.client
$ python setup.py develop
$ cd ..
* Install the mailman web
$ cd mailmanweb
$ python setup.py develop
$ cd ..
* Start the project
$ cd django_dev_setup
$ python manage.py syncdb
$ python manage.py runserver
More information about the Mailman-Developers
mailing list