copy config
This commit is contained in:
parent
a335f14b14
commit
58e2097016
3 changed files with 12 additions and 1 deletions
10
api/config.yaml
Normal file
10
api/config.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
gtfs_zips:
|
||||
- uri: "https://www3.septa.org/developer/gtfs_public.zip"
|
||||
subzip: "google_rail.zip"
|
||||
- uri: "https://www3.septa.org/developer/gtfs_public.zip"
|
||||
subzip: "google_bus.zip"
|
||||
# - uri: "https://www.njtransit.com/rail_data.zip"
|
||||
# - uri: "https://www.njtransit.com/bus_data.zip"
|
||||
annotations:
|
||||
synthetic_routes:
|
||||
- id: 'NYC'
|
||||
|
|
@ -78,7 +78,7 @@ async fn main() -> ::anyhow::Result<()> {
|
|||
let version: &str = option_env!("CARGO_PKG_VERSION").expect("Expected package version");
|
||||
info!("Starting the SEPTASTIC Server v{} (commit: {})", version, "NONE");
|
||||
|
||||
let mut file = File::open("../data_loader/config.yaml")?;
|
||||
let mut file = File::open("./config.yaml")?;
|
||||
let mut file_contents = String::new();
|
||||
file.read_to_string(&mut file_contents);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue