Differences between revisions 2 and 11 (spanning 9 versions)
Revision 2 as of 2011-05-30 10:23:53
Size: 1720
Editor: benste
Comment:
Revision 11 as of 2011-07-30 07:05:47
Size: 2444
Editor: benste
Comment:
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/14352751
Line 9: Line 9:
=== Procedure === ==== Procedure ====
 1. Check prerequirements - e.g. in Ubuntu 11.04 you need to install PostFix if you didn't yet
Line 11: Line 12:
 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 :
OR: branch it and skip 2.

 1. Unpack it and open a terminal session in that directory
 1.
python bootstrap.py

{{{
 1. {code}
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 23: Line 40:
=== Procedure === ==== Procedure ====
Line 25: Line 42:
bzr branch lp:mailmanwebgsoc2011/django-site-0.1
Line 26: Line 45:
 * 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 31: Line 56:
=== Procedure === ==== Procedure ====
Line 33: Line 58:
 1. rename it to "mailman_django" just in case the directory has got another name
Line 34: Line 60:
=== Known Issues during installation ===
 * none
=== Procedure ===
branch the latest release
== REST-API (client) ==
--([[https://code.launchpad.net/~flo-fuchs/mailman.client/settings]])-- \#Development will be merged to :
Line 39: Line 63:
UGLY: [[https://code.launchpad.net/~mailman-coders/mailman.client/trunk]]
Line 41: Line 65:
 1. COPY \''client.py AND __init''\_.py
into a DIR "client" within the Django App
==== Procedure ====
 1. branch the latest release (dir name is settings atm.)
 1.
sudo python setup.py install
Line 44: Line 70:
OFFICIAL {{{
or if developing the API
}}}
Line 46: Line 74:
=== Known Issues during installation === sudo python setup.py develop



 1. After installation the REST Api will be launched together with mailman.
h3.

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.

  1. Unpack it and open a terminal session in that directory

python bootstrap.py

 1. {code}
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
  2. 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.)

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.

h3.

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