Updated README.md and config (slashes for unix socket)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user