Differences between revisions 2 and 15 (spanning 13 versions)
Revision 2 as of 2011-05-30 10:23:53
Size: 1720
Editor: benste
Comment:
Revision 15 as of 2023-11-24 16:00:20
Size: 3085
Editor: msapiro
Comment: point to virtualenv install
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DEV/versions/11960564 #pragma page-filename DEV/versions/11960560
{{{#!wiki warning
'''This page is obsolete! The information included is probably invalid and thus should be used with care. Current recommended installation instructions are [[https://docs.mailman3.org/en/latest/install/virtualenv.html|here]]).'''
}}}
Line 5: Line 8:
[[https://launchpad.net/mailman]]
Line 7: Line 9:
[[http://launchpad.net/mailman/3.0/3.0.0a7/+download/mailman-3.0.0a7.tar.gz]] [[https://launchpad.net/mailman|https://launchpad.net/mailman]]
Line 9: Line 11:
=== Procedure ===
 1. Download the Archive
 1. Unpack it
 1. ?execute setup.py
=== Known Issues during installation ===
 * /usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'entry_points'
  * SOLUTION ?
== REST ==
--([[https://code.launchpad.net/~flo-fuchs/mailman.client/settings]])-- \#Development will be merged to :
→ [[http://launchpad.net/mailman/3.0/3.0.0a7/+download/mailman-3.0.0a7.tar.gz|http://launchpad.net/mailman/3.0/3.0.0a7/+download/mailman-3.0.0a7.tar.gz]]

==== Procedure ====

 1. Check prerequirements - e.g. in Ubuntu 11.04 you need to install Postfix if you didn't yet
 1. Download the Archive<<BR>> OR: branch it and skip 2.
 1. Unpack it and open a terminal session in that directory
 1. {{{
python bootstrap.py
}}}
 1. {{{
bin/buildout
}}}
 1. Test it by using
 {{{
bin/test
}}}
 1. Be aware that if you launch it from another directory you will have trouble with the DB
 1. Run the Daemon (better do this after REST Installation) by executing the following
 {{{
<mailman_download_directory>/bin/master
}}}
Line 20: Line 35:
[[https://code.launchpad.net/~benste/mailmanwebgsoc2011/django_project]]
This is dummy Django Site - you could easyly create your own site but this one comes with prefilled settings.
Line 23: Line 36:
=== Procedure ===
 * branch it into a directory
[[https://code.launchpad.net/~benste/mailmanwebgsoc2011/django_project|https://code.launchpad.net/~benste/mailmanwebgsoc2011/django_project]]<<BR>> This is dummy Django Site - you could easyly create your own site but this one comes with prefilled settings.

==== Procedure ====

 * branch it into a directory<<BR>> bzr branch lp:mailmanwebgsoc2011/django-site-0.1
Line 26: Line 42:
 * after installing the app use python manage.py runserver to run a development server on localhost:8080
=== Known Issues during installation ===
 * Vertify that APP neither Site Folder do include special characters (e.g. .,;:/) and that the working directory is on the python path
 * after installing the app use
 {{{
python manage.py runserver
}}} to run a development server on [[http://localhost:8080|localhost:8080]]
Line 29: Line 49:
[[https://code.launchpad.net/~benste/mailmanwebgsoc2011/mailman_django_app]]
Line 31: Line 50:
=== Procedure === [[https://code.launchpad.net/~benste/mailmanwebgsoc2011/mailman_django_app|https://code.launchpad.net/~benste/mailmanwebgsoc2011/mailman_django_app]]

==== Procedure ====
Line 33: Line 55:
 1. rename it to "mailman_django" just in case the directory has got another name
Line 34: Line 57:
=== Known Issues during installation ===
 * none
=== Procedure ===
branch the latest release
Line 39: Line 58:
UGLY: == REST-API (client) ==
Line 41: Line 60:
 1. COPY \''client.py AND __init''\_.py
into a DIR "client" within the Django App
[[https://code.launchpad.net/~flo-fuchs/mailman.client/settings|https://code.launchpad.net/~flo-fuchs/mailman.client/settings]] #Development will be merged to :
Line 44: Line 62:
OFFICIAL [[https://code.launchpad.net/~mailman-coders/mailman.client/trunk|https://code.launchpad.net/~mailman-coders/mailman.client/trunk]]
Line 46: Line 64:
=== Known Issues during installation === ==== Procedure ====

 1. branch the latest release (dir name is settings atm.)
 1. {{{
sudo python setup.py install
}}} or if developing the API
 {{{
sudo python setup.py develop
}}}
 1. After installation the REST Api will be launched together with mailman.

This page is obsolete! The information included is probably invalid and thus should be used with care. Current recommended installation instructions are here).

This How-To aims to support All Developers who want to get all 4 parts which belong to the latest mailmanweb development running on a standalone installation. Please remember that most of the branches are experimental !

MM3 a7

https://launchpad.net/mailman

http://launchpad.net/mailman/3.0/3.0.0a7/+download/mailman-3.0.0a7.tar.gz

Procedure

  1. Check prerequirements - e.g. in Ubuntu 11.04 you need to install Postfix if you didn't yet
  2. Download the Archive
    OR: branch it and skip 2.

  3. Unpack it and open a terminal session in that directory
  4. python bootstrap.py
  5. bin/buildout
  6. Test it by using
    bin/test
  7. Be aware that if you launch it from another directory you will have trouble with the DB
  8. Run the Daemon (better do this after REST Installation) by executing the following
    <mailman_download_directory>/bin/master

Django-Site

https://code.launchpad.net/~benste/mailmanwebgsoc2011/django_project
This is dummy Django Site - you could easyly create your own site but this one comes with prefilled settings.

Procedure

  • branch it into a directory
    bzr branch lp:mailmanwebgsoc2011/django-site-0.1

  • make sure you do have Django installed on your system
  • Vertify that APP neither Site Folder do include special characters (e.g. .,;:/) and that the working directory is on the python path
  • after installing the app use
    python manage.py runserver

    to run a development server on localhost:8080

Django-App

https://code.launchpad.net/~benste/mailmanwebgsoc2011/mailman_django_app

Procedure

  1. Branch the app beside the Django branch
  2. rename it to "mailman_django" just in case the directory has got another name
  3. Make sure Django-Site does link do the right App (urls.py; settings.py ...)

REST-API (client)

https://code.launchpad.net/~flo-fuchs/mailman.client/settings #Development will be merged to :

https://code.launchpad.net/~mailman-coders/mailman.client/trunk

Procedure

  1. branch the latest release (dir name is settings atm.)
  2. sudo python setup.py install
    or if developing the API
    sudo python setup.py develop
  3. After installation the REST Api will be launched together with mailman.

MailmanWiki: DEV/How to Install MM3a7+REST+Django+APP (last edited 2023-11-24 16:00:20 by msapiro)