##// END OF EJS Templates
setup: change url to github
setup: change url to github

File last commit:

r195:78228cff
r196:472d1df0 master
Show More
README.md
112 lines | 2.7 KiB | text/x-minidsrc | MarkdownLexer
readme: reorganization
r161 AppEnlight
-----------
readme updates
r191 Performance, exception, and uptime monitoring for the Web
![AppEnlight image](https://raw.githubusercontent.com/AppEnlight/appenlight/gh-pages/static/appenlight.png)
readme: reorganization
r161 Automatic Installation
======================
readme: provide better descriptions
r195 Use the ansible or vagrant scripts in the `automation` repository to build complete instance of application.
readme: reorganization
r161 You can also use `packer` files in `automation/packer` to create whole VM's for KVM and VMWare.
readme: provide better descriptions
r195 https://github.com/AppEnlight/automation
readme: reorganization
r161 Manual Installation
===================
To run the app you need to have meet prerequsites:
readme: updates
r185 - python 3.5+ (currently 3.6 tested)
requirements: changes
r177 - running elasticsearch (6.6.2 tested)
- running postgresql (9.5+ required, tested 9.6 and 10.6)
readme: reorganization
r161 - running redis
Install the app by performing
pip install -r requirements.txt
python setup.py develop
Install the appenlight uptime plugin (`ae_uptime_ce` package from `appenlight-uptime-ce` repository).
readme: updates
r185 For production usage you can do:
pip install appenlight
pip install ae_uptime_ce
readme: reorganization
r161 After installing the application you need to perform following steps:
1. (optional) generate production.ini (or use a copy of development.ini)
readme: formatting
r189 appenlight-make-config production.ini
readme: reorganization
r161
readme: provide better descriptions
r195 2. Setup database structure (replace filename with the name you picked for `appenlight-make-config`):
readme: reorganization
r161
readme: formatting
r189 appenlight-migratedb -c FILENAME.ini
readme: reorganization
r161
3. To configure elasticsearch:
readme: formatting
r189 appenlight-reindex-elasticsearch -t all -c FILENAME.ini
readme: reorganization
r161
4. Create base database objects
(run this command with help flag to see how to create administrator user)
readme: formatting
r189 appenlight-initializedb -c FILENAME.ini
readme: reorganization
r161
5. Generate static assets
readme: formatting
r189 appenlight-static -c FILENAME.ini
readme: reorganization
r161
Running application
===================
To run the main app:
readme: provide better descriptions
r195 pserve FILENAME.ini
readme: reorganization
r161
To run celery workers:
celery worker -A appenlight.celery -Q "reports,logs,metrics,default" --ini FILENAME.ini
To run celery beat:
celery beat -A appenlight.celery --ini FILENAME.ini
readme: provide better descriptions
r195 To run appenlight's uptime plugin (example of uptime plugin config can be found here
https://github.com/AppEnlight/appenlight-uptime-ce ):
readme: reorganization
r161
readme: provide better descriptions
r195 appenlight-uptime-monitor -c UPTIME_PLUGIN_CONFIG_FILENAME.ini
readme: reorganization
r161
Real-time Notifications
=======================
You should also run the `channelstream websocket server for real-time notifications
readme: provide better descriptions
r195 channelstream -i CHANELSTRAM_CONFIG_FILENAME.ini
README: mention getappenlight.com documentation
r192
Additional documentation
========================
Visit https://getappenlight.com for additional server and client documentation.
readme: reorganization
r161 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
grunt watch