##// END OF EJS Templates
utils: added get_es_info function
utils: added get_es_info function

File last commit:

r120:a8b66364
r159:61d79e6b
Show More
README.md
99 lines | 2.0 KiB | text/x-minidsrc | MarkdownLexer
refactor: fix inconsistent naming
r28 AppEnlight
project: initial commit
r0 -----------
Automatic Installation
======================
readme: updates
r120 Use the ansible scripts in the `automation` repository to build complete instance of application
You can also use `packer` files in `automation/packer` to create whole VM's for KVM and VMWare.
project: initial commit
r0
Manual Installation
===================
readme: updated readme
r104 To run the app you need to have meet prerequsites:
- python 3.5+
readme: updates
r120 - running elasticsearch (2.3+/2.4 tested)
readme: updated readme
r104 - running postgresql (9.5+ required)
- running redis
project: initial commit
r0 Install the app by performing
pip install -r requirements.txt
Edited file readme.rst via RhodeCode Enterprise
r3
project: initial commit
r0 python setup.py develop
readme: updates
r120 Install the appenlight uptime plugin (`ae_uptime_ce` package from `appenlight-uptime-ce` repository).
project: initial commit
r0
readme: updated readme
r104 After installing the application you need to perform following steps:
project: initial commit
r0
1. (optional) generate production.ini (or use a copy of development.ini)
readme: updated readme
r104
project: initial commit
r0 appenlight-make-config production.ini
readme: updated readme
r104 2. Setup database structure:
project: initial commit
r0
readme: updated readme
r105 appenlight-migratedb -c FILENAME.ini
project: initial commit
r0
readme: updated readme
r104 3. To configure elasticsearch:
project: initial commit
r0
readme: updated readme
r104 appenlight-reindex-elasticsearch -t all -c FILENAME.ini
readme: updated readme
r105 4. Create base database objects
(run this command with help flag to see how to create administrator user)
readme: updated readme
r104
project: initial commit
r0
appenlight-initializedb -c FILENAME.ini
readme: updated readme
r104 5. Generate static assets
project: initial commit
r0
appenlight-static -c FILENAME.ini
Running application
===================
readme: updated readme
r104 To run the main app:
project: initial commit
r0
pserve development.ini
readme: updated readme
r104 To run celery workers:
project: initial commit
r0
celery worker -A appenlight.celery -Q "reports,logs,metrics,default" --ini FILENAME.ini
readme: updated readme
r104 To run celery beat:
project: initial commit
r0
celery beat -A appenlight.celery --ini FILENAME.ini
readme: updated readme
r104 To run appenlight's uptime plugin:
project: initial commit
r0
appenlight-uptime-monitor -c FILENAME.ini
readme: updated readme
r104
Real-time Notifications
=======================
You should also run the `channelstream websocket server for real-time notifications
channelstream -i filename.ini
Testing
=======
To run test suite:
py.test appenlight/tests/tests.py --cov appenlight (this looks for testing.ini in repo root)
Development
===========
To develop appenlight frontend:
cd frontend
npm install
bower install
grunt watch