Open-Budget-ABQ
This project will display the City of Albuquerque's annual budget in a user friendly web application, allowing citizens to better understand how their tax dollars are being spent and how city services are prioritized.
Read more about the tech specs and our initial assessment of its value to the community.
Have some input? We are now soliciting public comments.
Development
We welcome contributions from anyone at any time, either in code or in the issue queue. If you fork this repository and make improvements, we encourage you to submit a pull request so we can consider incorporating your improvements.
Branching
All development is happening on the dev branch and feature branches. Feature branches will be merged into dev. We will only merge into master when we are ready to release a stable version.
Requirements
- A web server with the npm package manager installed
Installation
- Run "npm install" to fetch the required libraries.
- On the command line type: "gulp" for browserify and css outputs (same than: "gulp watch-all")
- npm start to launch a local server or use any other local server
Options
Watching:
- "gulp watch-css" to watch only the scss files and compile them into css
- "gulp watch-js" to watch only the js files and create the bundle.js automatically
- "gulp watch-all" to watch the scss (sass) files and the js files
Compiling: the watching calls these commands automatically. We list them just to be exhaustive:
- "gulp build-css" compile the scss (sass) files to css files
- "gulp build-js" compile the js files to bundle.js
- "gulp build-all" compile the scss (sass) files to css files and the js files to bundle.js
Minification and cleaning:
- "gulp build-min-css" build main.min.css, minified css version of main.css file
- "gulp build-min-js" build bundle.min.js, minified js version of bundle.js file
- "gulp clean" delete main.css and bundle.js files
- "gulp build-min-all" calls build-min-css, build-min-js and clean
If you get a "no such file or directory" error when building the js, try building the css first, which will complete your directory structure.