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

deploy on our own server #22

Open
batje opened this issue Jun 7, 2013 · 10 comments
Open

deploy on our own server #22

batje opened this issue Jun 7, 2013 · 10 comments

Comments

@batje
Copy link

batje commented Jun 7, 2013

Is it possible to run this on our own server. We are a bit far away from the google appengine, so making 2 roundtrips (server > google > client) wastes a lot of expensive and slow bandwidth for us.

@rufuspollock
Copy link
Member

This is pretty easy to deploy on your own appengine server. To get it to work on a normal server we may want to do conversion to flask cf #5

Also it may be worth considering building something directly off of https://github.com/okfn/dataconverters - cf https://github.com/okfn/data-converters-service

@batje
Copy link
Author

batje commented Jun 10, 2013

Ah, so noob I didnt realize you can run appengine yourself. thanks

@RouxRC
Copy link

RouxRC commented Feb 19, 2014

The thing is the jsonpdataproxy.app url is hard coded within ckan's code which is not really encouraging anyone to deploy his own instance of dataproxy, it would be cool to put it in the conf of ckan to encourage users to do so!

@rufuspollock
Copy link
Member

@RouxRC you can config that super-easily (at least for a dev) :-) just set the relevant js config variable

@gawel
Copy link

gawel commented Feb 19, 2014

@rgrp It's harcoded in ckan. See ckan/ckan#1524

@rossjones
Copy link
Contributor

Even if you don't know JS enough to change it, you can copy that file into your own extension and just change that text. If it has the same name/path it'll be used in preference to the other one.

@RouxRC
Copy link

RouxRC commented Feb 19, 2014

@rossjones @rgrp I know it's not hard, I'm just saying this should not be hardcoded but configurable

@rossjones
Copy link
Contributor

Yeah, I agree that an easier way to change it would be good. It'd make it easier for us to use github.com/datagovuk/ckanext-datapreview too (which previews the output from the ckanext-archive extension first before trying the actual url). I'm not 100% sure that I removed any dgu specific code from it though.

@rufuspollock
Copy link
Member

@gawel can you not override from a script tag- see comment in ckan/ckan#1524?

@winbatch
Copy link

Hi - any chance someone has made a simple tar of dataproxy so that a simple bash script can launch it? Not sure of the whole running a local google app engine process.

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

No branches or pull requests

6 participants