https://github.com/azavea/green-equity-demo
A demo project for visualizing Infrastructure Bill spending
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Repository
A demo project for visualizing Infrastructure Bill spending
Basic Info
- Host: GitHub
- Owner: azavea
- Language: TypeScript
- Default Branch: develop
- Size: 6.61 MB
Statistics
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 17
- Releases: 0
Metadata Files
README.md
Green Equity Demo
This project will demo a couple data visualizations of how and where Infrastructure Bill money is being spent.
Requirements
- Docker version of 20.10.17 or higher.
- Docker Compose V2 (included in Docker Desktop or via the compose plugin).
Getting Started
sh
./scripts/bootstrap
./scripts/update
A pre-commit hook that lints staged files is included. It can be installed with:
sh
python3 -m pip install pre-commit
pre-commit install
If there are lint failures, they are reported and the commit is aborted. Formatting fixes will be applied automatically. Once any other needed fixes are made, simply reattempt the commit.
The hook can always be ignored with git commit --no-verify.
Development
Rebuild Docker images and run application.
sh
./scripts/update
./scripts/server
Ports
| Service | Port |
| ------------------------- | ------------------------------- |
| Webpack Dev Server | 8765 |
Testing
sh
./scripts/test
Scripts
| Name | Description |
| -------------- | ------------------------------------------------------------- |
| bootstrap | Setup environment file |
| citasks | Run tasks before building images in CI |
| clean | Free disk space by cleaning up dangling Docker images |
| console | Run interactive shell inside application container |
| lint | Lint source code |
| server | Run Docker Compose services |
| test | Run unit tests |
| update | Build Docker images |
| yarn | Run yarn commands on the app container |
Adding new JS/TS Packages
To add a new package to the project:
sh
./scripts/yarn add package-name
Upgrading JS/TS dependencies
The update script uses a --frozen-lockfile flag so when packages need an upgrade:
```sh
Manually change the package.json to upgrade the version and run:
./scripts/yarn install ```
Use Typescript file watching
Watch for TypeScript changes and list all errors
sh
./scripts/yarn tsc --watch
Owner
- Name: Azavea
- Login: azavea
- Kind: organization
- Location: Philadelphia, PA
- Website: https://www.azavea.com
- Repositories: 383
- Profile: https://github.com/azavea
Geospatial software engineering for good
GitHub Events
Total
- Issue comment event: 1
Last Year
- Issue comment event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 72
- Total pull requests: 47
- Average time to close issues: 11 days
- Average time to close pull requests: 3 days
- Total issue authors: 7
- Total pull request authors: 5
- Average comments per issue: 0.61
- Average comments per pull request: 2.17
- Merged pull requests: 46
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- mstone121 (42)
- jacobtylerwalls (11)
- rachelekm (7)
- stephwall (6)
- travissouthard (3)
- rajadain (2)
- svandekerkhof (1)
Pull Request Authors
- mstone121 (22)
- jacobtylerwalls (14)
- rachelekm (5)
- travissouthard (3)
- dependabot[bot] (2)