Skip to content

prolibre-ch/nobinobi-stats

Repository files navigation

Nobinobi Stats

https://travis-ci.org/prolibre-ch/nobinobi-stats.svg?branch=master

Package Stats for nobinobi

Documentation

The full documentation is at https://nobinobi-stats.readthedocs.io.

Quickstart

Install Nobinobi Stats:

pip install nobinobi-stats

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'phonenumber_field',
    'crispy_forms',
    'django_extensions',
    'rest_framework',
    'rest_framework.authtoken',
    'rest_framework_datatables',
    'menu',
    'bootstrap_modal_forms',
    'widget_tweaks',
    'django_select2',
    'bootstrap_datepicker_plus',
    'nobinobi_core',
    'nobinobi_staff',
    'nobinobi_child.apps.NobinobiChildConfig',
    'nobinobi_daily_follow_up.apps.NobinobiDailyFollowUpConfig',
    'nobinobi_stats.apps.NobinobiStatsConfig',
    ...
)

Add Nobinobi Stats's URL patterns:

from nobinobi_core import urls as nobinobi_core_urls
from nobinobi_staff import urls as nobinobi_staff_urls
from nobinobi_child import urls as nobinobi_child_urls
from nobinobi_daily_follow_up import urls as nobinobi_daily_follow_up_urls
from nobinobi_stats import urls as nobinobi_stats_urls

urlpatterns = [
    ...
    path('', include(nobinobi_core_urls)),
    path('', include(nobinobi_staff_urls)),
    path('', include(nobinobi_child_urls)),
    path('', include(nobinobi_daily_follow_up_urls)),
    path('', include(nobinobi_stats_urls)),
    ...
]

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package:

About

Application Stats for Nobinobi

Resources

License

Stars

Watchers

Forks

Packages

No packages published