okfn / dataproxy

Web application (targeted at appengine) to proxy data from certain data types into a JSON-P data type so that users can create mashups against remote data sets.
http://jsonpdataproxy.appspot.com/
Other
75 stars 24 forks source link

deploy on our own server #22

Open batje opened 11 years ago

batje commented 11 years ago

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 commented 11 years ago

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 commented 11 years ago

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

RouxRC commented 10 years ago

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 commented 10 years ago

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

gawel commented 10 years ago

@rgrp It's harcoded in ckan. See https://github.com/ckan/ckan/issues/1524

rossjones commented 10 years ago

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 commented 10 years ago

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

rossjones commented 10 years ago

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 commented 10 years ago

@gawel can you not override from a script tag- see comment in https://github.com/ckan/ckan/issues/1524?

winbatch commented 10 years ago

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.