Comments (5)
If I can't devote time before the weekend, then please feel free -- maybe as part of the docker factor/refactor. I am more than happy to help and document if I am unable to start tackling this issue before you have a chance. I will post to this thread just before I start (if I start before I hear back from you).
from coastal-valuation.
@kramachandran I've started this process with a working version of the flask/docker stack on the branch feature/flask-refactor
. I am going to combine the two issues (#13 and #12) into one, which can be closed when we merge the forthcoming pull request.
from coastal-valuation.
You can run this stuff with the following commands:
docker-compose build
docker-compose up
docker-machine ip default
Navigate to the IP address in the returned result (which for me is 192.168.99.101
) and the port 5000. For example http://192.168.99.101:5000
.
from coastal-valuation.
Ensuring that this feature doesn't fall off the radar.
self.response.headers.add_header("Access-Control-Allow-Origin", "*")
self.response.headers['Content-Type'] = 'application/json'
I am unsure how to set these headers in the Flask framework. I expect that the solution is in line with Nginx.
from coastal-valuation.
I don't sufficiently understand this post, although it seems relevant. Maybe not now -- premature optimization and complexity -- but I like the idea of adding seemingly extra features to this web service up front, given the plans to make it broader.
from coastal-valuation.
Related Issues (14)
- Project spec HOT 1
- Whitepaper on relative impact of sea level rise on home value HOT 1
- Settle on tech stack HOT 5
- Specify input and output for final service
- Available data HOT 4
- Continuous integration testing HOT 5
- Estimating the probability distribution for sea level rise HOT 6
- Create docker file per deployment HOT 2
- financial modeling HOT 11
- Pitch deck
- Argument handling
- static error pages (with graphics)
- pitch deck HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coastal-valuation.