##// END OF EJS Templates
readme: updated readme
readme: updated readme

File last commit:

r105:789d3a7d
r105:789d3a7d
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
======================
Use the ansible scripts in the `/automation` directory to build complete instance of application
You can also use `packer` files in `/automation/packer` to create whole VM's for KVM and VMWare.
Manual Installation
===================
readme: updated readme
r104 To run the app you need to have meet prerequsites:
- python 3.5+
- running elasticsearch (2.3+ tested)
- 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: updated readme
r104 Install the appenlight uptime plugin (`ae_uptime_ce` package).
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