Updated README.md and config (slashes for unix socket)

This commit is contained in:
jar3b
2016-04-24 12:58:50 +03:00
parent 72d0036879
commit 27efa759ef
2 changed files with 56 additions and 8 deletions

View File

@@ -4,14 +4,16 @@ from aore import config
# Config section
# Address and port where sphinx was listening,
# may be a unix socket like 'unix://tmp/pyphias.sock'
# may be a unix socket like 'unix:///tmp/fias-api.sock'
# or TCP socket like '127.0.0.1:9312'
config.SphinxConfig.listen = "127.0.0.1:9312"
# Base sphinx folder
# For unix system
config.SphinxConfig.var_dir = "C:\\Sphinx"
# DB config
config.DatabaseConfig.database = "fias_db"
config.DatabaseConfig.host = "192.168.0.1"
config.DatabaseConfig.host = "127.0.0.1"
config.DatabaseConfig.port = 5432
config.DatabaseConfig.user = "postgres"
config.DatabaseConfig.password = "postgres"