Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2015-04-15 14:54:49
Size: 377
Editor: terri
Comment: nodejs-less instructions for ubuntu
Revision 7 as of 2015-04-15 19:30:58
Size: 1167
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 14: Line 14:
ln -s /usr/bin/nodejs /usr/bin/node
Line 15: Line 16:

(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/

That is, get the bundler:

{{{
bzr branch lp:mailman-bundler
}}}

Install virtualenv (covered above for ubuntu) and set it up:
{{{
virtualenv venv
source venv/bin/activate
}}}

For some reason, pip doesn't install correctly in the venv-3.4 directory, so you can link it manually if you need to:

{{{
ln -s /usr/bin/pip3 ~/mailman-bundler/venv-3.4/bin/pip
}}}

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/

That is, get the bundler:

bzr branch lp:mailman-bundler

Install virtualenv (covered above for ubuntu) and set it up:

virtualenv venv
source venv/bin/activate

For some reason, pip doesn't install correctly in the venv-3.4 directory, so you can link it manually if you need to:

ln -s /usr/bin/pip3 ~/mailman-bundler/venv-3.4/bin/pip

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