Last active
May 2, 2018 08:06
-
-
Save ssplatt/42393b7d9c876a027aaa to your computer and use it in GitHub Desktop.
Taiga.io install commands for Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==== 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 |
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
Fedora 22:
Line 18: It should be python-devel python3-devel instead of python-dev python3-dev.
Also Fedora now uses dnf instead of yum (which just prints a warning).
Line 21: "su - taiga" without a previous "adduser taiga" ? ;)
Line 38 results in:
OSError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/certifi-2015.04.28.dist-info'
su -c "pip2 install circus" workes around this, but i guess this is against the "never built & run taiga as root"-rule.
Line 40: "systemctl --system daemon-reload" Should be called afterwards. if anyone else had no idea what to put in that file: http://circus.readthedocs.org/en/latest/for-ops/deployment/