Переделан конфиг (теперь не нужны правки в package), обновлено

Readme.
This commit is contained in:
jar3b
2016-03-11 21:53:34 +03:00
parent 88ec3066a1
commit 3fe80ecef8
5 changed files with 26 additions and 45 deletions

View File

@@ -1,8 +1,25 @@
# -*- coding: utf-8 -*-
from aore import phias
from aore import phias, config
# Config section
config.sphinx_conf.listen = "192.168.0.37:9312"
config.sphinx_conf.var_dir = "C:\\Sphinx"
config.db_conf.database = "pyfias"
config.db_conf.host = "192.168.0.37"
config.db_conf.port = 5432
config.db_conf.user = "postgres"
config.db_conf.password = "intercon"
config.unrar_config.path = "C:\\Program Files (x86)\\WinRAR\\unrar.exe"
config.folders.temp = "E:\\!TEMP"
config.basic.logging = True
# Define main app
application = phias.app
# Run bottle WSGI server if no external
if __name__ == '__main__':
application.run(host='0.0.0.0', port=8087, debug=True)