https://github.com/azavea/cac-tripplanner

Clean Air Council Circuit Trip Planner and Travelshed

https://github.com/azavea/cac-tripplanner

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

bicycling bikeshare opentripplanner philadelphia routing transit

Keywords from Contributors

geocode hydrology watersheds civic-apps-team stormwater terraform-modules archival interactive projection generic
Last synced: 5 months ago · JSON representation

Repository

Clean Air Council Circuit Trip Planner and Travelshed

Basic Info
  • Host: GitHub
  • Owner: azavea
  • License: other
  • Language: JavaScript
  • Default Branch: develop
  • Homepage: https://gophillygo.org/
  • Size: 21.4 MB
Statistics
  • Stars: 16
  • Watchers: 19
  • Forks: 7
  • Open Issues: 80
  • Releases: 121
Topics
bicycling bikeshare opentripplanner philadelphia routing transit
Created about 11 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

Clean Air Council Circuit Trip Planner and Travelshed

Development Dependencies

Development Installation

  1. Make sure you have the development dependencies installed
  2. Download the latest Graph.obj for OTP: scripts/download-latest-graph.sh
    • This will take ~10 minutes to download
    • If you already have a local graph file but want the latest from S3, run scripts/download-latest-graph.sh --force
  3. Copy deployment/ansible/group_vars/development_template to deployment/ansible/group_vars/development
  4. Change into the src/ folder and run npm install to install the node modules on the host machine
  5. Run vagrant up. You can choose to change the Virtualbox shared folder type for the app VM from its default VirtualBox by: CAC_APP_SHARED_FOLDER_TYPE=nfs vagrant up
  6. See the app at http://localhost:8024! See OpenTripPlanner at http://localhost:9090.
  7. Running ./scripts/serve-js-dev.sh on the host will rebuild the front-end app on file change (the browser must be reloaded manually to pick up the change). Alternatively, cd /opt/app/src && npm run gulp-development can be run manually in the VM to pick up changes to the static files.

Note that if there is an existing build Graph.obj in otp_data, vagrant provisioning in development mode will not attempt to rebuild the graph, but will use the one already present.

Django migrations are run as part of app provisioning, here, but there may be instances where you need to manually run migrations outside of provisioning, in which case use the command: vagrant ssh app -c 'cd /opt/app/python/cac_tripplanner && python3 manage.py migrate'

Production Deployment

Note there is no staging environment 1. Dispatch "Build Graph" Github Actions workflow - This will fetch and process the latest GTFS and OSM files, store them on S3, and then use those files (along with the elevation file) to build a new Graph.obj for the OTP builder. New Graph.obj will also be stored in S3 bucket. 2. Once workflow completes (3-4 hours), remove everything from your local otp_data directory and then run the following script to pull the latest Graph.obj: scripts/download-latest-graph.sh 3. Build the AMIs, follow latest instructions in Building The AMIs section of deployment instrucions, found here. 4. Once AMI builds complete and identifiers set, following latest instructions in Deploying the AMIs section of deployment instructions, found here.

Owner

  • Name: Azavea
  • Login: azavea
  • Kind: organization
  • Location: Philadelphia, PA

Geospatial software engineering for good

GitHub Events

Total
  • Create event: 15
  • Release event: 8
  • Issues event: 24
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 20
  • Push event: 79
  • Pull request review comment event: 11
  • Pull request review event: 21
  • Pull request event: 11
Last Year
  • Create event: 15
  • Release event: 8
  • Issues event: 24
  • Watch event: 1
  • Delete event: 5
  • Issue comment event: 20
  • Push event: 79
  • Pull request review comment event: 11
  • Pull request review event: 21
  • Pull request event: 11

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 2,018
  • Total Committers: 28
  • Avg Commits per committer: 72.071
  • Development Distribution Score (DDS): 0.322
Past Year
  • Commits: 21
  • Committers: 3
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.429
Top Committers
Name Email Commits
Kathryn Killebrew k****w@a****m 1,368
Scott Lederer s****r@a****m 131
Klaas Hoekema k****a@a****m 98
CloudNiner a****1@g****m 85
Kenny Shepard k****d@g****m 78
Sharp Hall s****l@a****m 33
Michael Tedeschi m****i@g****m 29
CloudNiner a****w@c****o 27
Nathan Zimmerman n****n@g****m 26
dependabot[bot] 4****] 19
Derek Dohler d****r@a****m 17
Jeff Frankl j****l@a****m 15
Chris Brown c****n@a****m 15
Rachele Morino r****m@g****m 12
Michael Maurizi m****i@a****m 11
Kathryn Killebrew k****w@g****m 8
Derek Dohler d****r@e****m 7
Katie k****n@a****m 7
Hector Castro h****o@a****m 6
Hector Castro 4****o 5
Kenny Shepard k****d@a****m 5
Kathryn Killebrew b****t@g****m 5
Rocky Breslow r****w@a****m 3
Taylor Nation t****4@g****m 2
Jenny Fung f****2 2
Bryan Quigley c****e@b****m 2
Christopher Taylor c****r@a****m 1
kevinearldenny k****y@a****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 62
  • Total pull requests: 81
  • Average time to close issues: 7 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 11
  • Total pull request authors: 9
  • Average comments per issue: 0.55
  • Average comments per pull request: 1.3
  • Merged pull requests: 39
  • Bot issues: 0
  • Bot pull requests: 51
Past Year
  • Issues: 11
  • Pull requests: 7
  • Average time to close issues: 27 days
  • Average time to close pull requests: 13 days
  • Issue authors: 3
  • Pull request authors: 2
  • Average comments per issue: 0.09
  • Average comments per pull request: 1.43
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rachelekm (25)
  • ddohler (11)
  • hectcastro (9)
  • flibbertigibbet (5)
  • stephwall (4)
  • ktohalloran (4)
  • obrienad (2)
  • BryanQuigley (1)
  • lederer (1)
  • rajadain (1)
  • JN-Hernandez (1)
Pull Request Authors
  • dependabot[bot] (51)
  • rachelekm (16)
  • ddohler (6)
  • rajadain (4)
  • flibbertigibbet (2)
  • hectcastro (2)
  • BryanQuigley (2)
  • ktohalloran (2)
  • kevinearldenny (1)
Top Labels
Issue Labels
operations (12) actionable backlog (7) Technical Debt (5) UA Operations (4) size: 2 (2) Epic (2) size: 3 (1) Bug - Medium (1) size: 1 (1) Blocked (1) pair (1)
Pull Request Labels
dependencies (51) javascript (33) python (18)

Dependencies

src/package-lock.json npm
  • 1166 dependencies
src/package.json npm
  • acorn ~8.0.2 development
  • acorn-dynamic-import ^4.0.0 development
  • aliasify ~2.1.0 development
  • apache-server-configs ~4.0.0 development
  • browserify ~16.5.2 development
  • chai ~4.2.0 development
  • del ~6.0.0 development
  • gulp ~4.0.2 development
  • gulp-add-src ~1.0.0 development
  • gulp-autoprefixer ~7.0.1 development
  • gulp-cache ~1.1.3 development
  • gulp-concat ~2.6.1 development
  • gulp-csso ~4.0.1 development
  • gulp-debug ~4.0.0 development
  • gulp-flatten ~0.4.0 development
  • gulp-if ~3.0.0 development
  • gulp-imagemin ~7.1.0 development
  • gulp-jshint ~2.1.0 development
  • gulp-jshint-xml-file-reporter ~0.5.1 development
  • gulp-order ~1.2.0 development
  • gulp-plumber ~1.2.1 development
  • gulp-rename ~2.0.0 development
  • gulp-replace ~1.0.0 development
  • gulp-sass ~4.1.0 development
  • gulp-size ~3.0.0 development
  • gulp-uglify ~3.0.2 development
  • gulp-useref ~4.0.1 development
  • jshint ~2.12.0 development
  • jshint-stylish ~2.2.1 development
  • karma ~5.2.3 development
  • karma-chai ~0.1.0 development
  • karma-chrome-launcher ~3.1.0 development
  • karma-coverage ~2.0.3 development
  • karma-jasmine ~4.0.1 development
  • karma-mocha ~2.0.1 development
  • lazypipe ~1.0.2 development
  • merge-stream ~2.0.0 development
  • mocha ~8.1.3 development
  • npmfiles ~0.1.3 development
  • nyc ~15.1.0 development
  • open ~7.3.0 development
  • pump ~3.0.0 development
  • requirejs ~2.3.6 development
  • serve-index ~1.9.1 development
  • serve-static ~1.14.1 development
  • uglify-es ~3.3.9 development
  • vinyl-buffer ~1.0.1 development
  • vinyl-source-stream ~2.0.0 development
  • @turf/distance ~6.0.1
  • @turf/nearest-point-on-line ~6.0.2
  • cartodb.js ~3.15.18
  • console-polyfill ~0.3.0
  • handlebars ~4.7.7
  • jquery ~3.5.1
  • jquery-sortablejs ~1.0.1
  • js-storage ~1.1.0
  • leaflet ~0.7.7
  • leaflet.awesome-markers ~2.0.5
  • lodash ~4.17.21
  • moment ~2.29.2
  • moment-duration-format ~2.3.2
  • polyline-encoded ~0.0.9
  • riot-route ~3.1.4
  • sortablejs ~1.10.2
  • spinkit ~1.2.5
  • tiny-slider ~2.9.3
  • typeahead.js ~0.10.5
python/cac_tripplanner/deployment_requirements.txt pypi
  • PyYAML ==5.3.1
  • boto ==2.49.0
  • majorkirby ==1.0.0
  • requests ==2.24.0
  • troposphere ==2.6.2
python/cac_tripplanner/requirements.txt pypi
  • Django ==3.2.13
  • Pillow ==7.2.0
  • PyYAML ==5.3.1
  • base58 ==2.0.1
  • boto3 ==1.15.9
  • django-ckeditor ==6.0.0
  • django-extensions ==3.1.5
  • django-image-cropping ==1.5.0
  • django-storages ==1.10.1
  • django-wpadmin v3.2
  • easy-thumbnails ==2.8.1
  • gunicorn ==20.0.4
  • psycopg2-binary ==2.8.6
  • pytz ==2020.1
  • requests ==2.24.0
  • virtualenv ==20.0.31
deployment/dataproc/Dockerfile docker
  • ubuntu 20.04 build
deployment/graph/Dockerfile docker
  • openjdk 8u322-jre-bullseye build
deployment/dataproc/docker-compose.yml docker
deployment/graph/docker-compose.yml docker
python/pyproject.toml pypi