citizenlabsgr / openbudgetgr

Visualizations of Grand Rapids' budget data, and explanations about the budget process.
https://grbudget.citizenlabs.org
MIT License
1 stars 2 forks source link
data-collection data-visualization documentation jade javascript react

Build Status

Open Budget Grand Rapids

Open Budget Grand Rapids intends to promote a deeper understanding of the City of Grand Rapids Budget. We believe that this project will allow citizens, officials, and other stakeholders to engage in more informed dialogue about how the City of Grand Rapids currently works and how it should in the future.

Getting Started

Use the following documentation to help you get started developing with this project.

Prerequisites

These next items listed are necessary to develop this project on your local machine.

Yarn

This project uses Yarn package manager to install dependencies.

You can install Yarn on mac using the command below or by going to the Yarn website.

brew install yarn

Harp

This site is built with the Harp static site generator.

To install Harp globally, make sure you have yarn package manager installed, and then use the following commands

yarn global add harp

Harp was partially created to be a development tool for static sites, and includes minimal setup to start developing on the site locally

Development

The /src directory is the working folder of this project, and contains all necessary code that is compiled in the static site.

To start developing, make sure you have all prerequisites installed, and run the the following commands

# Go to the '_src' folder of the OpenBudget GR project
cd [repo-location]/_src

# Install required project dependencies
yarn install

# Run harp development server
harp server

The Harp server should tell you where to point your browser. Once you do that you should see the Open Budget Grand Rapids project that you can activey develop on.

Documentation

Do not be afraid of updating the documentation if there is anyting that should be changed. Also please add to this documentation when a new feature is implemented.

Creating & Editing Pages

Instructions for "Flow" Diagram Pages

Instructions for "Treemap" Diagram Pages

Instructions for "Compare" page

Creating/Updating Budget Timeline

The timeline is made using TimelineJS, an open-source tool that enables anyone to build visually rich, interactive timelines. Beginners can create a timeline using nothing more than a Google spreadsheet, like the one we used for the Timeline above. Experts can use their JSON skills to create custom installations, while keeping TimelineJS's core functionality.

The Google spreadsheet for the current Budget Timeline used for Grand Rapids is a Citizen Labs' shared Google Sheet, can be viewed here.

Publishing Changes

Make changes on your personal fork or branch. If you have repo access, and your changes are ready for review, you can merge them into the development branch and publish to the staging site for review. You can also publish changes to your own server and merge to development afterwards.

Contributing

Before making your first contribution to this project, please read the Contribution Guide

Data Sources

City of Grand Rapids, MI Data Portal

Built With

Skills