Go to file
David Barragán Merino dc2672078c Updated the readme file 2013-10-17 11:49:02 +02:00
doc Start adding coding rules 2013-04-11 18:36:39 +02:00
greenmine Fixed tests 2013-10-17 10:29:24 +02:00
.ctags changing language-force paramter on ctags with languages parameter 2013-04-01 09:49:02 +02:00
.gitignore Ignored greenmine/search 2013-04-26 10:10:41 +02:00
.travis.yml Exclude some files into the stats of the coverage 2013-10-17 11:37:41 +02:00
AUTHORS.rst Add AUTHORS.rst file. 2013-10-07 15:58:20 +02:00
LICENSE Add initial license template (pending revision) 2013-04-07 13:40:53 +02:00
NOTICE Add initial license template (pending revision) 2013-04-07 13:40:53 +02:00
README.rst Updated the readme file 2013-10-17 11:49:02 +02:00
manage.py Start adding coding rules 2013-04-11 18:36:39 +02:00
regenerate.sh Update the regenerate.sh script 2013-10-16 09:30:11 +02:00
requirements.txt Add explicit dependency to anyjson because kombu does not add it. 2013-10-16 09:45:40 +02:00

README.rst

Greenmine Backend
=================

.. image:: http://kaleidos.net/static/img/badge.png
    :target: http://kaleidos.net/community/greenmine/

.. image:: https://travis-ci.org/kaleidos/greenmine-back.png?branch=master
    :target: https://travis-ci.org/kaleidos/greenmine-back

.. image:: https://coveralls.io/repos/kaleidos/greenmine-back/badge.png?branch=master
    :target: https://coveralls.io/r/kaleidos/greenmine-back?branch=master


Setup development environment.
------------------------------

You need to install django 1.6,...

.. code-block:: console

    git clone git://github.com/django/django.git django-trunk
    cd django-trunk
    git checkout stable/1.6.x
    python setup.py install
    cd ..
    rm -r django-trunk

... django-reversion for django 1.6 ...

.. code-block:: console

    git clone https://github.com/etianen/django-reversion.git django-reversion-trunk
    cd django-reversion-trunk
    git checkout django-1.6
    python setup.py install
    cd ..
    rm -r django-reversion-trunk


...ant then, you must install all the dependencies

.. code-block:: console

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

Also, greenmine only runs over python 3.3+.


Auth: admin/123123


Polyfills
----------

Django-Rest Framework by default returns 403 for not authenticated requests and permission denied
requests. The file ``greenmine/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.