2018-02-27 00:31:35 +03:00
|
|
|
Redash-STMO
|
|
|
|
===========
|
|
|
|
|
2019-02-26 13:56:11 +03:00
|
|
|
`Redash <https://redash.io>`_ extensions for
|
|
|
|
`sql.telemetry.mozilla.org <https://sql.telemetry.mozilla.org/>`_.
|
2019-02-18 20:28:38 +03:00
|
|
|
|
2019-02-26 13:56:11 +03:00
|
|
|
Or as it should have been called: *St. Moredash* ;)
|
2019-02-18 20:29:58 +03:00
|
|
|
|
2019-02-26 13:56:11 +03:00
|
|
|
.. image:: https://circleci.com/gh/mozilla/redash-stmo.svg?style=svg
|
|
|
|
:target: https://circleci.com/gh/mozilla/redash-stmo
|
2019-02-18 20:28:38 +03:00
|
|
|
|
|
|
|
.. image:: https://codecov.io/gh/mozilla/redash-stmo/branch/master/graph/badge.svg
|
2019-02-26 13:56:11 +03:00
|
|
|
:target: https://codecov.io/gh/mozilla/redash-stmo
|
2019-02-18 20:28:38 +03:00
|
|
|
|
2019-02-26 13:56:11 +03:00
|
|
|
.. image:: https://img.shields.io/badge/calver-YY.M.PATCH-22bfda.svg
|
|
|
|
:target: https://calver.org/
|
|
|
|
:alt: CalVer - Timely Software Versioning
|
2018-02-27 00:31:35 +03:00
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Please install the package using your favorite package installer::
|
|
|
|
|
|
|
|
pip install redash-stmo
|
|
|
|
|
2019-03-07 00:58:20 +03:00
|
|
|
Development
|
|
|
|
-----------
|
|
|
|
|
2019-03-11 14:43:03 +03:00
|
|
|
Running the full site please run the follow steps.
|
|
|
|
|
2019-03-11 18:23:10 +03:00
|
|
|
To Create the database (only once) run::
|
2019-03-11 14:43:03 +03:00
|
|
|
|
2019-03-11 18:23:10 +03:00
|
|
|
make database
|
2019-03-11 14:43:03 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
To start the containers (Backend, Celery, Redis, Postgres) run::
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
make up
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
To also run the webpack devserver please run in parallel::
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:23:10 +03:00
|
|
|
make devserver
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
To enter the container and run a bash shell run::
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
make bash
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
and then run this inside the container::
|
2019-03-11 14:43:03 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
npm install
|
2019-03-11 14:43:03 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
To run the tests (from the host machine) run::
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2019-03-11 18:22:47 +03:00
|
|
|
make test
|
2019-03-07 00:58:20 +03:00
|
|
|
|
2018-02-27 00:31:35 +03:00
|
|
|
Issues & questions
|
|
|
|
------------------
|
|
|
|
|
2018-02-28 23:05:41 +03:00
|
|
|
See the `issue tracker on GitHub <https://github.com/mozilla/redash-stmo/issues>`_
|
2018-02-27 00:31:35 +03:00
|
|
|
to open tickets if you have issues or questions about Redash-STMO.
|