Differences between revisions 1 and 11 (spanning 10 versions)
Revision 1 as of 2015-04-15 14:46:05
Size: 257
Editor: terri
Comment:
Revision 11 as of 2015-04-16 14:57:12
Size: 1310
Editor: terri
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
This page contains my notes on things I needed to do to get the mailman-bundler to run on ubuntu 14.04 in docker. This page contains my notes on things I needed to do to get the mailman-bundler to run on ubuntu 14.04 in docker.  I am mostly following http://mailman-bundler.readthedocs.org/en/latest/ with the following additions/modifications.
Line 3: Line 3:
Install some prerequisites: Install some prerequisites in Python:
Line 8: Line 8:

Set up nodejs, the node package manager, and

{{{
apt-get install nodejs npm
npm install -g less
ln -s /usr/bin/nodejs /usr/bin/node
}}}

(The last part is because there is a name conflict with 'node' so the 'node' command is named 'nodejs' you need a symlink somewhere from node to /usr/bin/nodejs. MAS)

Do the next steps as normal from http://mailman-bundler.readthedocs.org/en/latest/

Do start with python 2 for the first virtualenv (not everything in postorius/hyperkitty is python 3 compliant yet), and buildout will create a python 3 virtual env for Mailman 3.

buildout in the mailman-bundler directory may fail on the first attempt due to a missing pip.
This has now been altered in the scripts so it won't happen unless you get an old version, but we needed to change the cmds under mailman in this way:

{{{
virtualenv -p /usr/bin/python${mailman:python3-version} ${mailman:venv-dir}
}}}

This page contains my notes on things I needed to do to get the mailman-bundler to run on ubuntu 14.04 in docker. I am mostly following http://mailman-bundler.readthedocs.org/en/latest/ with the following additions/modifications.

Install some prerequisites in Python:

apt-get update
apt-get install bzr python3-dev python3-pip python-dev python-pip python-virtualenv

Set up nodejs, the node package manager, and

apt-get install nodejs npm
npm install -g less
ln -s /usr/bin/nodejs /usr/bin/node

(The last part is because there is a name conflict with 'node' so the 'node' command is named 'nodejs' you need a symlink somewhere from node to /usr/bin/nodejs. MAS)

Do the next steps as normal from http://mailman-bundler.readthedocs.org/en/latest/

Do start with python 2 for the first virtualenv (not everything in postorius/hyperkitty is python 3 compliant yet), and buildout will create a python 3 virtual env for Mailman 3.

buildout in the mailman-bundler directory may fail on the first attempt due to a missing pip. This has now been altered in the scripts so it won't happen unless you get an old version, but we needed to change the cmds under mailman in this way:

virtualenv -p /usr/bin/python${mailman:python3-version} ${mailman:venv-dir}

MailmanWiki: DEV/Mailman 3.0/Mailman 3.0 Suite Install on Ubuntu (last edited 2023-11-24 16:04:02 by msapiro)