Page MenuHomePhabricator

notification.servers
Closed, ResolvedPublic

Asked by ogolubovic on Apr 27 2016, 10:35 AM.

Details

Im adding Aphlict to Phabricator and I encountered a problem.
Im stuck at https://secure.phabricator.com/book/phabricator/article/notifications/#configuring-phabricator where I need to set notification.servers option, but I have no idea how to do that. How should I pass this JSON to config?

Answers

epriestley
Updated 2,926 Days Ago

You can quote the value in the shell:

$ ./bin/config set notification.servers '{"key": "value", ...}'

Or you can read it from a file:

$ cat file.json
{
  "key": "value",
  ...
}
$ ./bin/config set notification.servers "`cat file.json`"

Or you can manually open phabricator/conf/local/local.json in an editor and edit that. bin/config is just a wrapper script which prevents mistakes and syntax errors.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.