##// END OF EJS Templates
metrics: rename RequestMetric module to Metric
metrics: rename RequestMetric module to Metric

File last commit:

r49:9369b191
r49:9369b191
Show More
README.md
47 lines | 1.0 KiB | text/x-minidsrc | MarkdownLexer
project: initial commit
r0 # appenlight README
readme: slightly updated the readme
r32 To run the app you need to have meet prerequsites:
project: initial commit
r0
readme: slightly updated the readme
r32 - running elasticsearch (2.3+ tested)
- running postgresql (9.5+ required)
project: initial commit
r0 - running redis
# Setup basics
Set up the basic application database schema:
appenlight_initialize_db config.ini
Set up basic elasticsearch schema:
appenlight-reindex-elasticsearch -c config.ini -t all
readme: slightly updated the readme
r32 Installed the appenlight uptime plugin
project: initial commit
r0
# Running
To run the application itself:
pserve --reload development.ini
To run celery queue processing:
celery worker -A appenlight.celery -Q "reports,logs,metrics,default" --ini=development.ini
rule engine: add support for NOT rule
r41 To run celery beats scheduling:
celery beat -A appenlight.celery --ini=development.ini
metrics: rename RequestMetric module to Metric
r49 You should also run the `channelstream websocket server for real-time notifications
readme: slightly updated the readme
r32
channelstream -i filename.ini
project: initial commit
r0
# Testing
To run test suite:
py.test appenlight/tests/tests.py --cov appenlight (this looks for testing.ini in repo root)
WARNING!!!
Some tests will insert data into elasticsearch or redis based on testing.ini