I am new to Mattermost. Installing it for the first time on CentOS 7. As per installation guide I am editing config.json. I put in SiteURL and database credentials.
"ServiceSettings": {
"SiteURL": "https://mattermost.1.1.1.3.nip.io",
"WebsocketURL": "",
And database settings
"SqlSettings": {
"DriverName": "postgres",
"DataSource": "postgres://mattermost:secret@db:5432/mattermost?sslmode=disable&connect_timeout=10",
"DataSourceReplicas": [],
When I run mattermost, I get an error message that the config file is not valid
[mattermost@mattermost mattermost]$ ./bin/mattermost
Error: failed to load configuration: failed to load: invalid config: Config.IsValid: model.config.is_valid.file_driver.app_error,
Usage:
mattermost [flags]
mattermost [command]
The file is pretty large with many options. There is no log file. Is there a way to know what part of the file is not valid? Is there an editor / IDE of some sort to compile the file?