Texas Tribune: tt_dataviews
Django class-based views (CBVs) for Texas Tribune’s data applications.
Note, this is not a complete solution for building data applications like the Texas Tribune. Instead, it’s opened as an insight into how we structure part of our applications. It’s meant to be a learning tool, not used directly.
That said, if you’re interested, feel free to dive in.
You need Grunt installed to develop the static assets associated with this (see Grunt’s Getting Started guide for more information on setting up Grunt). Once you have Grunt installed, you need to install the development packages via npm like this:
npm install .
Once everything is installed, you can build the Sass with this command:
There is also a convenience method for continually building the Sass files via the watch command like this:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.