jamespfennell / transiter

Web service for transit data
https://demo.transiter.dev
MIT License
59 stars 7 forks source link

Quick install feature #78

Closed jamespfennell closed 2 years ago

jamespfennell commented 4 years ago

Many transit systems are easy and having to create a fully YAML configuration is overkill. The transit system just needs to specify a name (defaults to ID?) and some GTFS feeds. Transiter can choose reasonable defaults. If users want more, they can create a YAML config file.

Example

curl -X PUT $TRANSITER_SERVER/systems/caltrain?name=Caltrain&gtfs_static=http://data.trilliumtransit.com/gtfs/caltrain-ca-us/caltrain-ca-us.zip
jamespfennell commented 4 years ago

Could work by just generating the YAML config file. This would have the added bonus that if a user wanted to iterate, they could.