Setting up Taiga


Launch the custom Ubuntu container (16.04) and install Taiga on it (will commit it to image afterwards),

export DEBIAN_FRONTEND=noninteractive
export LANG=en_US.UTF-8
apt full-upgrade
apt autoremove

apt-get install -y build-essential binutils-doc autoconf flex bison libjpeg-dev
apt-get install -y libfreetype6-dev zlib1g-dev libzmq3-dev libgdbm-dev libncurses5-dev
apt-get install -y automake libtool libffi-dev curl git tmux gettext
apt-get install -y postgresql-9.5 postgresql-contrib-9.5
apt-get install -y postgresql-doc-9.5 postgresql-server-dev-9.5

#NO systemctl list-unit-files | grep postg
#NO systemctl enable postgresql.service
/etc/init.d/postgresql start
update-rc.d postgresql defaults

su - postgres
createuser taiga
createdb taiga -O taiga

#as root,
apt-get install -y python3 python3-pip python-dev python3-dev python-pip virtualenvwrapper
apt-get install libxml2-dev libxslt-dev

#as user (ok as root if container),
ls -l /etc/bash_completion.d/virtualenvwrapper
source /etc/bash_completion.d/virtualenvwrapper
env | grep -i virt

#as user (ok as root if container),
apt install git
cd ~/
git clone taiga-back
cd taiga-back
git checkout stable
mkvirtualenv -p /usr/bin/python3.5 taiga
pip install -r requirements.txt