coviolations_web
coviolations_web copied to clipboard
Tool for collecting and visualasing code violations.
coviolations.io web
.. image:: https://coviolations.io/projects/nvbn/coviolations_web/badge/ :target: http://coviolations.io/#/projects/nvbn/coviolations_web/
Server side of coviolations.io <http://coviolations.io>_
See docs of server side on read the docs <http://coviolations-web.readthedocs.org/en/latest/>_
See client docs on read the docs <https://coviolationsio.readthedocs.org/en/latest/>_
Installation
You need pip, npm, bower, redis and mongodb installed for this instruction.
Install fabric:
.. code-block:: bash
pip install fabric
Copy coviolations_web/settings/dist.py to coviolations_web/settings/local.py and fill config values.
And setup for developing with:
.. code-block:: bash
fab install
Or for production:
.. code-block:: bash
fab install:production
You can update project with:
.. code-block:: bash
fab update # or fab update:production
Running
Run http server:
.. code-block:: bash
./manage.py runserver
Run sockjs server:
.. code-block:: bash
./manage.py runpush
And run rq worker:
.. code-block:: bash
./manage.py rqworker
And run rq scheduler:
.. code-block:: bash
./manage.py rqscheduler
And open <http://localhost:8000>_ in browser.