Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 807 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 807 Bytes

pyDc.js

dc.js examples on tornado web framework

I used the following steps to get dc.js examples:

Next, I moved CSS, JavaScript and CSV files to a static folder. After this I created main.py and medify index.html.

  • git clone https://github.com/uqmlore1/pyDc.js.git
  • cd pyDc.js
  • mkdir db
  • mongod --smallfiles --dbpath db/
  • mongoimport -d test -c ndx --type csv --file static/ndx.csv --headerline
  • mongoimport -d test -c crime --type csv --file crime/crime.csv --headerline
  • mongoimport -d test -c vc --type csv --file crime/ --headerline

MongoDB shell version: 2.2.2 connecting to: test

use admin switched to db admin db.shutdownServer() exit