Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14407042
D11285.id27114.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D11285.id27114.diff
View Options
diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
--- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
+++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
@@ -102,6 +102,7 @@
$server_argv = array();
$server_argv[] = '--port='.$client_uri->getPort();
$server_argv[] = '--admin='.$server_uri->getPort();
+ $server_argv[] = '--host='.$server_uri->getDomain();
if ($ssl_key) {
$server_argv[] = '--ssl-key='.$ssl_key;
diff --git a/src/docs/user/configuration/notifications.diviner b/src/docs/user/configuration/notifications.diviner
--- a/src/docs/user/configuration/notifications.diviner
+++ b/src/docs/user/configuration/notifications.diviner
@@ -41,16 +41,10 @@
To install Node.js, follow the instructions on
[[ http://nodejs.org | nodejs.org ]].
-You will also need to install the `ws` module for Node. After installing
-Node, run `npm install -g ws` to install it.
+You will also need to install the `ws` module for Node. This needs to be
+installed into the notification server directory:
- name="(Option 1, Recommended) Install 'ws' Module Globally"
- $ npm install -g ws # Global Install
-
-If you prefer, you can also install it locally in the `support/aphlict/server/`
-directory:
-
- name="(Option 2) Install 'ws' Module Locally"
+ phabricator/ $ cd support/aphlict/server/
phabricator/support/aphlict/server/ $ npm install ws
Once Node.js and the `ws` module are installed, you're ready to start the
diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- a/support/aphlict/server/aphlict_server.js
+++ b/support/aphlict/server/aphlict_server.js
@@ -52,7 +52,8 @@
} catch (ex) {
throw new Error(
'You need to install the Node.js "ws" module for websocket support. ' +
- 'Usually, you can do this with `npm install -g ws`. ' + ex.toString());
+ 'See "Notifications User Guide: Setup and Configuration" in the ' +
+ 'documentation for instructions. ' + ex.toString());
}
var ssl_config = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 1:01 AM (6 h, 55 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6924219
Default Alt Text
D11285.id27114.diff (2 KB)
Attached To
Mode
D11285: Stop advising users to use `npm -g` to install websockets
Attached
Detach File
Event Timeline
Log In to Comment