##// END OF EJS Templates
angular: reorganize files
angular: reorganize files

File last commit:

r28:e98235eb
r72:3c69f25a
Show More
readme.rst
64 lines | 1.3 KiB | text/x-rst | RstLexer
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
===================
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
To run the app and configure datastore you need to run:
* elasticsearch (2.2+ tested)
* postgresql 9.5+
* redis 2.8+
after installing the application you need to:
1. (optional) generate production.ini (or use a copy of development.ini)
appenlight-make-config production.ini
2. setup database structure:
appenlight-migrate-db -c FILENAME.ini
3. to configure elasticsearch:
appenlight-reindex-elasticsearch -c FILENAME.ini
4. create base database objects
appenlight-initializedb -c FILENAME.ini
5. 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