flask-angular-data-science icon indicating copy to clipboard operation
flask-angular-data-science copied to clipboard

Deploying to the cloud

Open kcirtap2014 opened this issue 6 years ago • 2 comments

First of all, thanks Daniel for this amazing repo that makes data scientists' life so much easier. So I have a suggestion. It's definitely nice to have it on localhost, how about extending it to the deployment to the cloud?

I have used your template to build my own data science projects and tried deploying it to AWS (I'm an absolute beginner), I just couldn't get it working. So I can have my angular-frontend showing the index page but when there's a http post call that involves the backend, it seems like the backend is out of reach. Is this due to bad configuration of my aws cluster and service???

Cheers

kcirtap2014 avatar Feb 04 '19 19:02 kcirtap2014

GET https://apigateway.{region}.amazonaws.com/restapis HTTP/1.1 Authorization: ...

mahdaleni avatar Aug 07 '19 03:08 mahdaleni

PUT https://apigateway.{region}.amazonaws.com/restapis/{restapi_id}/resources/{resource_id}/methods/GET Content-Type: application/json Content-Length: ... Authorization: ...

{ "authorizationType" : "String", "authorizerId" : "String", "apiKeyRequired" : "Boolean", "requestParameters" : { "String" : "Boolean" }, "requestModels" : { "String" : "String" } }

mahdaleni avatar Aug 07 '19 03:08 mahdaleni