Skip to content

Instantly share code, notes, and snippets.

@ssplatt
Last active May 2, 2018 08:06
Show Gist options
  • Save ssplatt/42393b7d9c876a027aaa to your computer and use it in GitHub Desktop.
Save ssplatt/42393b7d9c876a027aaa to your computer and use it in GitHub Desktop.
Taiga.io install commands for Fedora
==== Fedora 21+ required ====
==== use in conjunction with http://taigaio.github.io/taiga-doc/dist/setup-production.html ====
yum install -y gcc autoconf flex bison libjpeg-turbo-devel
yum install -y freetype-devel zlib-devel zeromq-devel gdbm-devel ncurses-devel
yum install -y automake libtool libffi-devel curl git tmux
yum install -y postgresql postgresql-contrib
yum install -y postgresql-docs postgresql-devel postgresql-server
postgresql-setup initdb
systemctl enable postgresql
systemctl start postgresql
su - postgres -c "createuser taiga"
su - postgres -c "createdb taiga -O taiga"
yum install -y python3 python3-pip python-dev python3-dev python-pip python-virtualenvwrapper python3-virtualenv python3-pip
yum install -y libxml2-devel libxslt-devel
su - taiga
cd ~
git clone https://github.com/taigaio/taiga-back.git taiga-back
cd taiga-back
git checkout stable
mkvirtualenv -p /usr/bin/python3.4 taiga
pip install -r requirements.txt
python manage.py migrate --noinput
python manage.py loaddata initial_user
python manage.py loaddata initial_project_templates
python manage.py loaddata initial_role
python manage.py collectstatic --noinput
pip2 install circus
vim /usr/lib/systemd/system/circus.service
systemctl enable circus
systemctl start circus
==== ssl ====
yum install -y nginx crypto-utils
systemctl enable nginx
genkey <fqdn>
==== async tasks ====
yum install -y rabbitmq-server redis
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
==== events ====
yum install -y rabbitmq-server
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
rabbitmqctl add_user taiga PASSWORD
rabbitmqctl add_vhost taiga
rabbitmqctl set_permissions -p taiga taiga ".*" ".*" ".*"
su - taiga
cd ~
git clone https://github.com/taigaio/taiga-events.git taiga-events
cd taiga-events
yum install npm
su - taiga -c "npm install"
npm install -g coffee-script
@alberto-chiesa
Copy link

You can install PostgreSQL 9.4 even on CentOS 7, you just must add the PostgreSQL official yum repository, as for this link: https://wiki.postgresql.org/wiki/YUM_Installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment