Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1) Скачайте требуемый релиз со страницы Релизы.

2) Распакуйте архив.

Code Block
$ unzip iqchannels-linux-2017.2.0.zip


3) Укажите настройки для базы данных в файле config/config.yaml

PostgreSQL:

Code Block
# PostgreSQL
db:
 type: postgres
 connect: port=5432 dbname=iqchannels user=iqchannels password=secret sslmode=disable
 max_idle: 4 # Max idle connections in a connection pool.
 max_open: 12 # Max open connections in a connection pool.


SQL Server:

Code Block
# SQL Server

db:
 type: mssql
 connect: port=1433;database=iqchannels;user id=sa;password=Secret22;encrypt=disable
 max_idle: 4 # Max idle connections in a connection pool.
 max_open: 12 # Max open connections in a connection pool.

# Oracle# Use DNS to specify a connection string (user/password@host:port/sid).:
Code Block
db:

...


 type: oracle

...


 connect: iqchannels/secret@localhost:1521/xe

...


 max_idle: 4 # Max idle connections in a connection pool.

...


 max_open: 12 # Max open connections in a connection pool

...

.