https://github.com/ubc/stream
Stream is a WordPress plugin that adds a framework for integrating wordpress plugins with Node JS.
https://github.com/ubc/stream
Last synced: 4 months ago
JSON representation
Stream is a WordPress plugin that adds a framework for integrating wordpress plugins with Node JS.
- Host: GitHub
- URL: https://github.com/ubc/stream
- Owner: ubc
- Created: 2012-11-05T23:35:03.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-05-08T18:59:46.000Z (over 10 years ago)
- Last Synced: 2024-04-08T19:14:10.378Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 4.18 MB
- Stars: 2
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
=== Stream ===
Contributors: enej, devindra, ctlt-dev, ubcdev
Tags: node, js, nodejs
Stable tag: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Adds a framework for integrating wordpress plugins with Node JS.
== Description ==
== Installation ==
1. Extract the zip file into wp-content/plugins/ in your WordPress installation.
2. Go to plugins page to activate.
3. Make sure you have nodejs installed on your server. http://nodejs.org/download/
4. Go to the directory, plugins/stream/js-app
5. In command line, run "node app.js"
6. Update the stream setting found in Settings -> Stream
Would recommend running the service using something like forever https://github.com/nodejitsu/forever
Info here: http://blog.nodejitsu.com/keep-a-nodejs-server-up-with-forever
OR
Note: If you have upstart (http://upstart.ubuntu.com), running do init script so you can run the app as a service.
Example:
create an init script in /etc/init:
vi pulsepress-stream.conf
add something like the following:
description "pulsepress stream app"
author "You"
start on runlevel [2345]
stop on shutdown
script
# $HOME of user running
export HOME="/root"
exec /usr/local/bin/node /var/wwwnodejs/stream/js-app/app.js 2>&1 >> /var/log/node.log
end script
After start/stop like:
sudo start pulsepress-stream
sudo stop pulsepress-stream
== Changelog ==
= 1.0 =
* Initial release