Revision 20 as of 2015-04-16 16:28:06

Clear message

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:

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

Set up nodejs, the node package manager. (The last link creation part of this instruction is needed 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)

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

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

Some things that might be non-obvious:

  1. You need to cd into mailman-bundler before running buildout.
    •    cd mailman-bundler
         buildout
  2. Make sure to start using python2 for the first virtualenv, since not everything in postorius/hyperkitty is python 3 compliant. The buildout will create a python 3 virtual env for Mailman 3 Core. (In many fresh systems python2 is still default, but if you're using a system you've configured for python3, be aware!)