-
Notifications
You must be signed in to change notification settings - Fork 17
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easier setup #865
Comments
I started working on this. I tried to set it up so localhost would hit the beta API. This causes CORS issues. So I started working on the Chalice CORS config on the beta APIs to accept the Beta URL as well as localhost URLS. Chalice doesn't have built in support for multiple origins. See: https://aws.github.io/chalice/tutorials/basicrestapi.html#cors-support Worked on setting that up but facing issues. I alos just realized it says "May not work on all clients" so maybe since this is for developers only we can just use an array of origins? idk. |
Is there a way to sync with an existing database of historical data? Or do you just start scraping current trips when you launch the app? |
in order to get this set up without actually deploying a lambda, I had to create my own copy of the then repeat for the other tables. it seems like maybe the repo could ship with a dynamodb localstack setup with some of these tables preloaded |
Further issues with AWS: https://transitmatters.slack.com/archives/GSJ6F35DW/p1705183252687999 |
It would be nice to allow for potential contributors to get the dashboard up & running w/o AWS/DD/MBTA creds.
Could set it up so the dashboard hits prod endpoints unless a flag is present (or vice versa).
The text was updated successfully, but these errors were encountered: