Drupal DDP
Categories
Component ID
2354859
Component name
Drupal DDP
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Drupal DDP
This module acts as a DDP (Distributed Data Protocol) client, allowing Drupal to send new and updated node, taxonomy, and user data to a Meteor application.
Setup allows configuration of which types of content push to Meteor apps.
Drupal DDP requires a node server using Node DDP Client.
Development of this module is sponsored by hb5
Requirements
- A server running Node.js.
- A meteor application
- Drupal DDP Meteor Package.
Installation
- Download and install module. See Instructions for Installing modules
- Navigate to module folder and run
node install. - This will install all node dependencies
- Run
node ddp.js
Setup
- Navigate to
admin/config/development/drupal-ddp - Specify what port your node server should be listening on
... // Nodejs listener setup for port 8080. app.listen(8080); console.log('Listening for data on port: 8080'); ...Â
- Also specifiy the URL of your meteor app
... var ddpclient = new DDPClient({ // host: "localhost", port: 3000, ... });Â
