https://github.com/azavea/iow-boundary-tool
A tool for drawing water utility service area boundaries
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 (12.4%) to scientific vocabulary
Keywords
Repository
A tool for drawing water utility service area boundaries
Basic Info
- Host: GitHub
- Owner: azavea
- License: mit
- Language: JavaScript
- Default Branch: develop
- Homepage: https://staging.iow.azavea.com
- Size: 2.58 MB
Statistics
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 24
- Releases: 0
Topics
Metadata Files
README.md
IoW Boundary Tool
TODO Update This
Project description
Requirements
The app is built using Docker. On Intel Macs, Docker can be used natively or from within a Linux environment, which can be virtualized using Vagrant, VirtualBox, and Ansible:
- Vagrant 2.2+
- VirtualBox 6.0+
- Ansible 2.9+
On Apple Silicon Macs, and on Linux hosts, all you need is Docker.
Getting Started
Install the application and all required dependencies. For Vagrant-based development, use:
console
./scripts/setup --vagrant
For Docker-based development, use:
console
./scripts/setup --docker
Municipal data can be downloaded with a script:
console
./scripts/fetch-data
A pre-commit hook that runs the format script before any commit will be
installed but can always be ignored with git commit --no-verify.
Development
Rebuild Docker images and run application.
sh
vagrant up
vagrant ssh
./scripts/update
./scripts/server
After running setup (or resetdb), three test users are created:
| User | Password | Role | | ---------------------|-------------------|---------------| | a1@azavea.com | password | administrator | | v1@azavea.com | password | validator | | c1@azavea.com | password | contributor |
Ports
| Service | Port |
| --------------------------| ------------------------------- |
| Webpack Dev Server | 4545 |
| Gunicorn for Django app | 8181 |
Testing
./scripts/test
Scripts
For Vagrant-based development environments, run setup on your host, and all
other scripts inside the Vagrant VM. For Docker-based development environments,
all scripts should be run from the host.
| Name | Description |
| -------------- | ------------------------------------------------------------- |
| cibuild | Build project for 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 |
| setup | Provision Vagrant VM and run update and resetdb |
| test | Run unit tests |
| update | Build Docker images |
| resetdb | Restore development database to defaults (with test data) |
Adding NPM Packages
To add a new NPM package to the project:
- Manually add the package to the project's
package.jsonfile, ensuring that you pin it to a specific version. - Run
./scripts/updatein the VM. - Commit the changes to the following files to git:
package.jsonyarn.lock
Notes
- We usually pin packages to a specific version to minimize build errors.
- For packages in the regular/non-dev dependencies section of
package.json, manually add the package name to thevendorarray inwebpack.config.json
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
- Watch event: 2
Last Year
- Watch event: 2
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 111
- Total pull requests: 72
- Average time to close issues: 16 days
- Average time to close pull requests: 3 days
- Total issue authors: 6
- Total pull request authors: 5
- Average comments per issue: 0.53
- Average comments per pull request: 2.9
- Merged pull requests: 72
- Bot issues: 0
- Bot pull requests: 0
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
- rajadain (40)
- caseycesari (12)
- jacobtylerwalls (4)
- mstone121 (2)
- rachelekm (1)
- nanotubing (1)
- ksonda (1)
Pull Request Authors
- mstone121 (18)
- jacobtylerwalls (9)
- nanotubing (7)
- rajadain (7)
- rachelekm (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- @babel/core ^7.17.12 development
- @craco/craco ^6.4.3 development
- @hot-loader/react-dom ^17.0.2 development
- babel-jest 28.1.0 development
- craco-plugin-react-hot-reload ^0.1.0 development
- prettier ^2.6.2 development
- prettier-loader ^3.3.0 development
- react-hot-loader ^4.13.0 development
- @testing-library/jest-dom ^5.16.4
- @testing-library/react ^13.2.0
- @testing-library/user-event ^14.2.0
- axios ^0.27.2
- react ^17.0.2
- react-dom ^17.0.2
- react-router ^6.3.0
- react-router-dom ^6.3.0
- react-scripts ^5.0.1
- react-use ^17.3.2
- redux ^4.2.0
- redux-act ^1.8.0
- redux-logger ^3.0.6
- redux-thunk ^2.4.1
- 1468 dependencies
- black ==22.3.0
- boto3 ==1.24.3
- django ==3.2.13
- django-ecsmanage ==2.0.1
- django-extensions ==3.1.5
- django-simple-history ==3.1.1
- django-spa ==0.3.6
- django-storages ==1.12.3
- django-watchman ==1.3.0
- djangorestframework ==3.13.1
- djangorestframework-gis ==1.0
- factory-boy ==3.2.1
- filetype ==1.0.13
- flake8 ==4.0.1
- gunicorn ==20.1.0
- psycopg2 ==2.9.3
- pycodestyle ==2.8.0
- pyflakes ==2.4.0
- python-jose ==3.3
- pytz ==2022.1
- requests ==2.27.1
- actions/checkout v2 composite
- aws-actions/configure-aws-credentials v1 composite
- actions/checkout v2 composite
- aws-actions/configure-aws-credentials v1 composite
- iow ${GIT_COMMIT
- quay.io/azavea/terraform 1.1.9
- iow-django latest
- koalaman/shellcheck stable
- node 18-slim
- postgis/postgis 12-3.1
- python 3.8-slim-buster build
- diagrams ==0.23.1