Extensions to Redash for Mozilla's STMO
Перейти к файлу
Mozilla-GitHub-Standards 6b04eef07f Add Mozilla Code of Conduct file
Fixes #31.

_(Message COC002)_
2019-04-03 09:28:36 +02:00
.circleci Fix CalVer regex. 2019-02-28 17:17:08 +01:00
bin Add devserver ability. 2019-03-11 13:39:53 +01:00
redash_stmo use lists not generators in presto datasource 2019-04-02 14:16:28 -05:00
tests Port REMOTE_GROUPS feature from upstream. 2019-03-26 14:52:18 +01:00
.coveragerc Fix coverage. 2019-02-04 11:28:06 +01:00
.dockerignore Test setup fixes. 2019-02-18 17:54:22 +01:00
.gitignore Test setup fixes. 2019-02-18 17:54:22 +01:00
AUTHORS.rst Initial code. 2018-02-26 22:31:55 +01:00
CHANGELOG.rst Reverted Pyathena version pinning. 2019-03-27 23:13:01 +01:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-04-03 09:28:36 +02:00
Dockerfile Move pgsanity dependency to correct place for dependencies. 2019-03-21 11:48:06 +01:00
LICENSE Initial code. 2018-02-26 22:31:55 +01:00
MANIFEST.in Closes #8: Add datasource link front- and backend extension code. 2018-09-11 15:26:22 -04:00
Makefile Addd node_modules Make task. 2019-03-11 16:30:48 +01:00
README.rst Fix CalVar badge. 2019-03-27 14:50:10 +01:00
docker-compose.yml Add devserver ability. 2019-03-11 13:39:53 +01:00
pyproject.toml Revert "Port PyAthena bump." 2019-03-27 23:11:51 +01:00
pytest.ini Initial Circle CI conf 2019-02-28 17:04:19 +01:00
setup.cfg Test setup fixes. 2019-02-18 17:54:22 +01:00

README.rst

Redash-STMO
===========

`Redash <https://redash.io>`_ extensions for
`sql.telemetry.mozilla.org <https://sql.telemetry.mozilla.org/>`_.

Or as it should have been called: *St. Moredash* ;)

.. image:: https://circleci.com/gh/mozilla/redash-stmo.svg?style=svg
    :target: https://circleci.com/gh/mozilla/redash-stmo

.. image:: https://codecov.io/gh/mozilla/redash-stmo/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/mozilla/redash-stmo

.. image:: https://img.shields.io/badge/calver-YYYY.M.PATCH-22bfda.svg
   :target: https://calver.org/
   :alt: CalVer - Timely Software Versioning

Installation
------------

Please install the package using your favorite package installer::

    pip install redash-stmo

Development
-----------

During the development we're providing some convenience Make tasks that are
supposed to be run from the Docker host machine, not from inside a container.

Create the database
~~~~~~~~~~~~~~~~~~~

Only once please::

    make database

Install NPM modules
~~~~~~~~~~~~~~~~~~~

First install the Node modules::

    make node_modules

Start the containers
~~~~~~~~~~~~~~~~~~~~

Start backend, Celery, Redis, Postgres::

    make up

Run webpack devserver
~~~~~~~~~~~~~~~~~~~~~

Please run in parallel to the containers above::

    make devserver

Start shell
~~~~~~~~~~~

To enter the container and run a bash shell run::

    make bash

Run tests
~~~~~~~~~

To run the tests (from the host machine) run::

    make test

Issues & questions
------------------

See the `issue tracker on GitHub <https://github.com/mozilla/redash-stmo/issues>`_
to open tickets if you have issues or questions about Redash-STMO.