Show More
Commit Commit message Age Author Refs
1
r111:4d146a4a8989
validators: shortener factory for grouping hash
Marcin Lulek
r110:58cb9fcf39df
Added tag 0.9.1 for changeset feca18f6ff09
Marcin Lulek
1
r109:feca18f6ff09
reports: enforce more uniform distribution of reports between partitions
Marcin Lulek
r108:026d6706db57
partitions: add some logging
Marcin Lulek
r107:06cadc23a1ad
config template: remove unused cache options that cause confusion
Marcin Lulek
r106:32ed84e03308
added stable branch
Marcin Lulek
1
r105:1b7d9f520fb8
readme: updated readme
Marcin Lulek
r104:302e6a6177f7
readme: updated readme
2
r103:f191e7aba335
permissions: dont fail if permissions are unset
r102:edf8e005861b
frontend: latest compiled files
< 1 2 3 4 5 .. 12 >

AppEnlight

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

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

Install the app by performing

pip install -r requirements.txt

python setup.py develop

Install the appenlight uptime plugin (ae_uptime_ce package).

After installing the application you need to perform following steps:

  1. (optional) generate production.ini (or use a copy of development.ini)

    appenlight-make-config production.ini

  2. Setup database structure:

    appenlight-migratedb -c FILENAME.ini

  3. To configure elasticsearch:

    appenlight-reindex-elasticsearch -t all -c FILENAME.ini

  4. Create base database objects

(run this command with help flag to see how to create administrator user)

appenlight-initializedb -c FILENAME.ini
  1. Generate static assets

    appenlight-static -c FILENAME.ini

Running application

To run the main app:

pserve development.ini

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

To run appenlight's uptime plugin:

appenlight-uptime-monitor -c FILENAME.ini

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