Differences between revisions 10 and 15 (spanning 5 versions)
Revision 10 as of 2015-04-15 22:33:47
Size: 1254
Editor: terri
Comment:
Revision 15 as of 2015-04-16 16:07:28
Size: 1152
Editor: terri
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
apt-get update
apt-get install bzr python3-dev python3-pip python-dev python-pip python-virtualenv
sudo apt-get update
sudo apt-get install bzr python3-dev python3-pip python-dev python-pip python-virtualenv
Line 9: Line 9:
Set up nodejs, the node package manager, and 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)
Line 12: Line 12:
apt-get install nodejs npm
npm install -g less
ln -s /usr/bin/nodejs /usr/bin/node
sudo apt-get install nodejs npm
sudo npm install -g less
sudo ln -s /usr/bin/nodejs /usr/bin/node
Line 17: Line 17:
(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/ up until you run buildout (make sure to run it from the mailman-bundler directory). This will fail on the first attempt due to a missing pip.

By default, pip doesn't install correctly in the venv-3.4 directory on ubuntu because virtualenv is set up to take an argument specifying the appropriate version of python. We needed to change the cmds under mailman in this way:
Then, go into the mailman-bundler directory so you can run buildout...
Line 24: Line 20:
virtualenv -p /usr/bin/python${mailman:python3-version} ${mailman:venv-dir} cd mailman-bundler
Line 26: Line 22:


Do the next steps as normal from http://mailman-bundler.readthedocs.org/en/latest/ 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.

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

Then, go into the mailman-bundler directory so you can run buildout...

cd mailman-bundler

Do the next steps as normal from http://mailman-bundler.readthedocs.org/en/latest/ 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.

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