Installatie

Installatie met behulp van GitHub

Zorg er eerst voor dat u alle afhankelijkheden hebt geïnstalleerd. Kloon de nieuwste taiga-back van GitHub in document root-map:

    git clone https://github.com/taigaio/taiga-back.git taiga-back
    cd taiga-back
    git checkout stable

Maak een nieuwe virtualenv genaamd Taiga:

    mkvirtualenv -p /usr/bin/python3 taiga

Installeer alle Python -afhankelijkheden:

    pip install -r requirements.txt

Voer alle migraties uit om de database te vullen met basis noodzakelijke initiële gegevens:

    python manage.py migrate --noinput
    python manage.py loaddata initial_user
    python manage.py loaddata initial_project_templates
    python manage.py compilemessages
    python manage.py collectstatic --noinput

De bovenstaande migraties maken een beheerdersaccount aan. De inloggegevens zijn de volgende: Gebruikersnaam: Admin -wachtwoord: 123123 Maak het initiële configuratiebestand voor de juiste statische/mediabestandsresolutie om de instelling van Taiga-Back te voltooien, optioneel met ondersteuning voor e-mail: ondersteuning: Copy-Paste de volgende configuratie in ~/taiga-back/instellingen/local.py en werk deze bij met uw eigen details:

    from .common import *
    
    MEDIA_URL = "http://example.com/media/"
    STATIC_URL = "http://example.com/static/"
    SITES["front"]["scheme"] = "http"
    SITES["front"]["domain"] = "example.com"
    
    SECRET_KEY = "theveryultratopsecretkey"
    
    DEBUG = False
    PUBLIC_REGISTER_ENABLED = True
    
    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:PASSWORD_FOR_EVENTS@localhost:5672/taiga"}
    
    # Uncomment and populate with proper connection parameters
    # to enable email sending. `EMAIL_HOST_USER` should end by @.
    #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
    # to enable GitHub login/sign-in.
    #GITHUB_API_CLIENT_ID = "yourgithubclientid"
    #GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"

Download de frontend -code van GitHub:

    cd ~
    git clone https://github.com/taigaio/taiga-front-dist.git taiga-front-dist
    cd taiga-front-dist
    git checkout stable

Kopieer het voorbeeldconfiguratiebestand:

    cp ~/taiga-front-dist/dist/conf.example.json ~/taiga-front-dist/dist/conf.json

Bewerk de voorbeeldconfiguratie volgens het onderstaande patroon (vervang door uw eigen details):

    {
    	"api": "http://example.com/api/v1/",
    	"eventsUrl": "ws://example.com/events",
    	"debug": "true",
    	"publicRegisterEnabled": true,
    	"feedbackEnabled": true,
    	"privacyPolicyUrl": null,
    	"termsOfServiceUrl": null,
    	"GDPRUrl": null,
    	"maxUploadFileSize": null,
    	"contribPlugins": []
    }

Taiga-front-dist gedownload en geconfigureerd is onvoldoende. De volgende stap is om de code (in Dist Directory) bloot te stellen onder een statische bestandswebserver.

 Nederlands