This repository houses the City of Austin Transportation Department's Data and Performance Hub, a public website which tracks the department's operational performance and curates access to key datasets.
This site is hosted at data.mobility.austin.gov and uses Jekyll, Webpack and Netlify to create static pages.
Much of the content on the site is generated in-browser using D3js, jQuery, and React to visualize data from the City of Austin Open Data Portal.
-
- You may need to install Bundler v2. Do that with the command
gem install bundler
thenbundle install
to update your gems. Go here for more info.
- You may need to install Bundler v2. Do that with the command
-
cd
to the directory where you want to check-out the site, and clone it (git clone https://github.com/cityofaustin/atd-data-and-performance
) -
cd
to the directory that contains the cloned repository, and runjekyll serve
to start the webserver -
Navigate to http://localhost:4000 in your browser to view the site hosted-locally
If you will be working on any data dashboards that utilize Javascript ES6+ and/or React.js, we have a build setup for transpiling modern JS into a cross-compatible bundle.
-
run
npm install
to download and install javascript dependencies from package.json -
run
webpack --watch
. As files are modified, a new bundle will be automatically generated. -
(optional) Inspect webpack.config.js and create a new entry to start a new bundle.
- run
jekyll serve --watch
in one Terminal - run
webpack --watch
in a separate Terminal
Webpack will watch for changes to your source javascript/react files and output a new bundle. Jekyll will watch for new bundles and regenerate all the static assets.
-
GitHub Branch:
master
-
Deployment: Commit changes to branch
test
and submit a pull request to merge to master
Public contributions are welcome! Assign pull requests to @johnclary.
As a work of the City of Austin, this project is in the public domain within the United States.
Additionally, we waive copyright and related rights of the work worldwide through the CC0 1.0 Universal public domain dedication.