2013-01-05 14:10:01 -05:00
|
|
|
#DBMonitor
|
|
|
|
|
|
|
|
Use your web browser to monitor table inserts
|
|
|
|
|
|
|
|
##Description
|
|
|
|
|
|
|
|
Monitor inserts to a specific table of a datbase based on a MySQL timestamp
|
|
|
|
column.
|
|
|
|
|
|
|
|
##Dependencies
|
|
|
|
|
|
|
|
* nodejs
|
|
|
|
* npm
|
|
|
|
|
|
|
|
##Install
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone git://github.com/atomaka/dbmonitor.git
|
|
|
|
$ cd dbmonitor
|
|
|
|
$ npm install
|
|
|
|
$ cp config/application.coffee.sample application.coffee
|
|
|
|
$ cp config/database.coffee.sample database.coffee
|
|
|
|
```
|
|
|
|
|
|
|
|
* Edit settings in application.coffee and database.coffee as necessary
|
|
|
|
|
|
|
|
##Usage
|
|
|
|
|
2013-02-20 22:49:15 -05:00
|
|
|
```
|
|
|
|
$ ./node_modules/coffee-script/bin/coffee dbmonitor.coffee
|
|
|
|
```
|
|
|
|
|
|
|
|
or with global coffee-script install:
|
|
|
|
|
2013-02-02 15:28:04 -05:00
|
|
|
```
|
|
|
|
$ coffee dbmonitor.coffee
|
|
|
|
```
|
|
|
|
|
|
|
|
Access the application in your browser using the port you have configured.
|
2013-01-05 14:10:01 -05:00
|
|
|
|
|
|
|
##License
|
|
|
|
|
|
|
|
The MIT License
|
|
|
|
|
2013-02-02 15:28:04 -05:00
|
|
|
Copyright (c) 2013 Andrew Tomaka
|
2013-01-05 14:10:01 -05:00
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|