-
Notifications
You must be signed in to change notification settings - Fork 208
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
Get Mapknitter running into the Google Cloud v2 #1273
Conversation
Hey I think this one is ready to merge it appears to work both in staging/jenkins and appengine! |
Passengerfile.json.production
Outdated
// Run Passenger on the given port. In this example, we use port 80, | ||
// the standard HTTP port. | ||
"port": 8080 | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this?...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was meant to set Passenger's production port to 8080. Will we still need this? @icarito
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I don't think we still need this. At least neither Gcloud nor our docker-compose setup we have running on Jenkins use this. I have removed it from this branch, unless you see a use for it.
|
||
class AllHandler(webapp.RequestHandler): | ||
def get(self): | ||
self.redirect("https://tycho.media.mit.edu/warps", True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At some point we should use an env variable here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact this is the wrong URL, your comment made me notice. I'll fix it, sorry!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh okay this is file isn't needed at all it was an attempt to use the App Engine way of redirecting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I just remove this file from the main branch. Also the Environment variable is still pending, but it would be done in routes.rb
Updated rebased version of #1260
Linking #1271 and #1272 as well for tracking.
Fixes #1191
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/mapknitter-reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!