Code Monkey home page Code Monkey logo

taiga-back's Introduction

Taiga Backend

http://kaleidos.net/static/img/badge.png https://travis-ci.org/taigaio/taiga-back.png?branch=master https://coveralls.io/repos/taigaio/taiga-back/badge.png?branch=master

Setup development environment

Just execute these commands in your virtualenv(wrapper):

pip install -r requirements.txt
python manage.py syncdb --all --noinput
python manage.py migrate --fake
python manage.py loaddata initial_user
python manage.py sample_data
python manage.py createinitialrevisions

You have to load the sql sentences of the file sql/tags.sql and your database must support PL/Python. You use a dbuser with privileges in the database, 'taiga' for example, to do this.

psql taiga
CREATE LANGUAGE plpythonu;

CREATE OR REPLACE FUNCTION unpickle (data text)
    RETURNS text[]
AS $$
    import base64
    import pickle

    return pickle.loads(base64.b64decode(data))
$$ LANGUAGE plpythonu IMMUTABLE;

CREATE INDEX issues_unpickle_tags_index ON issues_issue USING btree (unpickle(tags));

Note: taiga only runs with python 3.3+.

Note: Initial auth data: admin/123123

Polyfills

Django-Rest Framework by default returns 403 for not authenticated requests and permission denied requests. The file taiga/base/monkey.py contains a temporary fix for this bug.

This patch is applied when the module base.models it's loaded. Once it's solved on django rest framework, this patch can be removed.

taiga-back's People

Contributors

alotor avatar bameda avatar bitdeli-chef avatar hirunatan avatar jespino avatar superalex avatar xaviju avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.