1.0.2 • Published 8 years ago

Drupal-Node.js v1.0.2

Weekly downloads
4
License
-
Repository
-
Last release
8 years ago

Node.js integration

This module adds Node.js integration to Drupal.

Setup

  1. Install drupal-node.js packge with npm:

    npm install drupal-node.js

Make sure to do this outside of your Drupal modules directory, else Drupal may try to process folders containing Node.js module information and fail. Follow the install instructions in the drupal-node.js NPM package. You will need to provide the hostname and port of your Drupal site to the Node.js process, and ensure that the service token matches between Drupal and Node.js.

  1. Point Drupal at the Node.js server process, either using the configuration page or settings.php.

To use the configuration page, visit '/admin/config/nodejs/settings', and enter the appropriate values.

To use your settings file, edit settings.php to add:

$config['nodejs.config'] = [
  // Configuration values here. See the module's config file:
  //
  //   config/install/nodejs.config.yml
  //
  // for the values you can override.
];
  1. Visit the reports page to validate that Drupal can communicate successfully with the Node.js server process.