The Data Integration and Visualization Engine (DIVE) is a platform for semi-automatically generating web-based, interactive visualizations of structured data sets. Data visualization is a useful method for understanding complex phenomena, communicating information, and informing inquiry. However, available tools for data visualization are difficult to learn and use, require a priori knowledge of what visualizations to create. See dive.media.mit.edu for more information.
See this Google Doc.
See our Trello. Currently private, PM Kevin for access.
- Run
npm install
in base directory to get development and client-side dependencies. - In one terminal session,
gulp
in base directory (if gulp is installed globally) else./node_modules/.bin/gulp
to build./dist
directory and run development server. Access server at localhost:3000 in browser. - In another terminal session, run API (see below, default port 8888).
- Run
gulp build
to build./dist
directory
- Install Homebrew if you don't already have it.
- Installation: See this fine tutorial.
- Freezing virtual env packages:
pip freeze > requirements.txt
. - Starting virtual env:
source venv/bin/activate
. - Reloading from
requirements.txt
(while virtualenv is active):pip install -r requirements.txt
. - Install XQuartz:
brew install Caskroom/cask/xquartz
. - Install Cairo:
brew install cairo
. - Install MongoDB:
brew install mongodb
and follow the instructions to run mongodb on login and immediately.
- Load virtual environment.
- Run mongod:
mongod --dbpath server/uploads
- In active virtual environment with all dependencies, in base directory, run shell script to activate Gunicorn server:
sh server/run.sh
.