Run as a web server:
rchart.js perform
Initialize dbs:
rchart.js reset
This constructs a database suitable for servering to bitcoincharts.com as per:
Each time the database is created, the results may vary. Therefore, if the database is lost, the new database will be inconsistent with the previous database. All previous subscribers should subscribe from scratch to have a consistent database.
To create, the cleanest database, the program will not being importation until the rippled server has acquired the effective genesis ledger.
Serves pages at:
For Bitcoincharts, they would query only the https://ripple.com/chart/BTC/
portion of the pages.
npm install async mysql@2.0.0-alpha7 ripple-lib
cp -p config-example.js config.js
- Edit
config.js
as needed. - Set up MySQL.
DROP DATABASE IF EXISTS rbc;
CREATE DATABASE rbc;
GRANT ALL PRIVILEGES ON rbc.* to 'rbc'@'localhost' IDENTIFIED BY 'password';
The program can be interrupted at anytime.
Add curriences and markets at anytime. Then, restart.
This warning is expected:
(node) warning: possible EventEmitter memory leak detected.
Currently Opencoin Inc runs this server at:
Pages for bitcoincharts.com: