Install Taiga (a kanban tracking system)

A web based tracking system and support Scrum (a agile software development) management tool. the official web site is https://taiga.io/

Install on ubuntu 16.04

I did refer the document from taigaio in github, and just adjust some step about it.

Init your ubuntu

you can use the original ubuntu 16.04 or use lxc container, in my case, I use lxc container to setup my ubuntu 16.04 by using this command:

lxc-create -n taiga -t ubuntu -- -r xenial

start the lxc container by this command:

lxc-start -n taiga

we assume the environment ip address is 10.0.3.220, let starting to setup the ubuntu environment.

initial os environment

initial Database

Install taiga

taiga is a opensource project management tool, the source code is store in github.

download the source code

setup taiga-backend

after the commands, the taiga has a default user “admin” with password “123123”.

from .common import *

DATABASES = {
        'default': {
                'ENGINE': 'django.db.backends.postgresql',
                'NAME': 'taiga',
                'USER': 'taiga',
                'PASSWORD': 'taiga_home',
                'HOST': 'localhost',
                'PORT': '5432',
        }
}

MEDIA_URL = "http://10.0.3.220/media/"
STATIC_URL = "http://10.0.3.220/static/"
SITES["front"]["scheme"] = "http"
SITES["front"]["domain"] = "10.0.3.220"
SITES["api"]["scheme"] = "http"
SITES["api"]["domain"] = "localhost:8000"
SITES["api"]["name"] = "api"

SECRET_KEY = "taigakey"

DEBUG = False
PUBLIC_REGISTER_ENABLED = False

#DEFAULT_FROM_EMAIL = "no-reply@example.com"
#SERVER_EMAIL = DEFAULT_FROM_EMAIL

#CELERY_ENABLED = True

EVENTS_PUSH_BACKEND = "taiga.events.backends.rabbitmq.EventsPushBackend"
EVENTS_PUSH_BACKEND_OPTIONS = {"url": "amqp://taiga:taiga_home@localhost:5672/taiga"}

# Uncomment and populate with proper connection parameters
# for enable email sending. EMAIL_HOST_USER should end by @domain.tld
#EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
#EMAIL_USE_TLS = False
#EMAIL_HOST = "localhost"
#EMAIL_HOST_USER = ""
#EMAIL_HOST_PASSWORD = ""
#EMAIL_PORT = 25

# Uncomment and populate with proper connection parameters
# for enable github login/singin.
#GITHUB_API_CLIENT_ID = "yourgithubclientid"
#GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"

setup taiga-frontend

setup taiga-events

setting taiga relate in circus

[env:taiga] PATH = /home/taiga/.virtualenvs/taiga/bin:$PATH TERM=rxvt-256color SHELL=/bin/bash USER=taiga LANG=en_US.UTF-8 HOME=/home/taiga PYTHONPATH=/home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages


* restart the circus service
```shell
sudo service circusd restart

then we can check the taiga/taiga-events status by command:

circusctl status

settgins for web server

taiga use nginx web server, we need set the nginx as following…

now, we should use taiga in http://10.0.3.220