mysql-live-select
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -0,1 +1,3 @@ | ||
/* mysql-live-select, MIT License ben@latenightsketches.com | ||
example.js - Use mysql < example.sql to get started */ | ||
var LiveMysql = require('./'); | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "mysql-live-select", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Live updating MySQL SELECT statements", | ||
@@ -5,0 +5,0 @@ "main": "lib/LiveMysql.js", |
@@ -7,21 +7,9 @@ # mysql-live-select | ||
## *Under Construction* | ||
## Installation | ||
This package is not yet completed. In order to test it, you must clone the repo. Please use the following command sequence as a guide: | ||
* Add the package to your project: | ||
```bash | ||
$ npm install mysql-live-select | ||
``` | ||
```bash | ||
$ git clone https://github.com/numtel/mysql-live-select.git | ||
$ cd mysql-live-select | ||
$ npm install | ||
# To use example as-is, copy example data into MySQL | ||
$ mysql < example.sql | ||
# Configure example to match your MySQL settings | ||
# (Be sure to also to enable the binary log, as described in next section) | ||
$ vim example.js | ||
# Run example | ||
$ node example.js | ||
``` | ||
## Installation | ||
* Enable MySQL binlog in `my.cnf`, restart MySQL server after making the changes. | ||
@@ -28,0 +16,0 @@ |
279
14249
105