Request 511 api key from https://511.org/open-data/token
setup sce-cli using the steps here https://github.com/SCE-Development/SCE-CLI
clone the project with
sce clone transit
- link the project to the tool
cd PATH_TO_SCETA_HERE
sce link transit
Create
data.yamlfile in theserverfolder of this projectapi_key: <YOUR API KEY from #1>stops: - operator: SCname: 10th & Taylorid: 64995 - operator: BAname: Milpitasid: MLPTgrouped_stops: - name: San Jose Diridon Caltrain Stationstops: - operator: CTid: 70261 - operator: CTid: 70262cache_update_interval_minutes: 10
run the project
sce run transit
- Access transit predictions at http://localhost:3001/api/predictions
- Now, you can access SCEta's frontend and backend data from http://localhost:3001
- To view metrics, go to http://localhost:3001/prometheus/graph