Skip to content
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

update to OpenRefine 3.1 and some basic enhancements by psychemedia #8

Merged
merged 7 commits into from
Jul 25, 2019
Merged

update to OpenRefine 3.1 and some basic enhancements by psychemedia #8

merged 7 commits into from
Jul 25, 2019

Conversation

felixlohmeier
Copy link
Contributor

I would like to suggest some improvements from @psychemedia (and some minor additions by myself) for the main repo:

  • update to OpenRefine 3.1 (current stable version)
  • set OpenRefine workspace dir relative to $HOME
  • set OpenRefine port to 3333
  • add python client for OpenRefine in requirements.txt
  • remove tar file after extracting
  • explain different launch options in README.md

There is also a demo notebook in https://github.com/ouseful-PR/openrefineder. It works with the suggested changes in this pull request but I think that it is still work in progress.

@betatim
Copy link
Owner

betatim commented Jul 25, 2019

Looks good to me. Thanks for refurbishing this!

@@ -33,6 +36,6 @@ def get(self, *args):
def setup_handlers(web_app):
web_app.add_handlers('.*', [
(ujoin(web_app.settings['base_url'], 'openrefine/(.*)'),
OpenRefineProxyHandler, dict(state={})),
OpenRefineProxyHandler, dict(state={'port':3333})),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the advantage of doing this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for merging!

3333 is the default port used by OpenRefine. Specifying it here makes it easier to connect with the python client (which tries to reach the OpenRefine server on 127.0.0.1:3333 by default). @psychemedia suggested this in #6 (comment)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Makes sense!

@betatim
Copy link
Owner

betatim commented Jul 25, 2019

I'll merge this now and if we need to we can make a new PR to change the port behaviour again.

@betatim betatim merged commit 077bbff into betatim:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants