Skip to content

ccnmtl/3demos

Repository files navigation

3Demos

3Demos is Drew Youngren's 3D Calculus Visualizations. Developed by Drew Youngren and the Columbia University Center for Teaching and Learning.

This project comprises of two main parts:

Start-up steps:

Install Redis and start the redis service.

redis-server

Start django server:

make runserver

In order to get the django daphne application responding to WebSockets, you will need to set up a proxy with nginx to forward and set certain headers. See: https://channels.readthedocs.io/en/latest/deploying.html#nginx-supervisor-ubuntu

Svelte application

To make changes to the svelte application in media/src/, first install the node dependencies with npm install. Then you can run the rollup build via npm like this:

npm run dev

Or, make a one-time production build of the applcation with npm run build.

Both of these commands will update the compiled JS at media/mathplayground/build/.