Skip to content

Image Collection Tools Install Notes

Bridget Almas edited this page Jan 9, 2015 · 14 revisions

JackRDF and Fuseki

Would be ideal for Rake tasks to support command line parameters to override:

FUSEKI_VERSION FUSEKI_TRIPLES FUSEKI_HOST FUSEKI_PORT FUSEKI_DATASTORE

And add an option to install Fuseki somewhere other than cwd FUSEKI_VERSION = "1.0.2" FUSEKI_DIR = "jena-fuseki-#{FUSEKI_VERSION}" FUSEKI_TAR = "#{FUSEKI_DIR}-distribution.tar.gz" FUSEKI_EXE = "#{FUSEKI_DIR}/fuseki-server"

General

For install steps would be good maybe to have an explanation of what they do, and how they impact other things on the system. For example, if I run rbenv.sh, what if I already have rvm installed? Or other ruby versions? etc.

JackSON and JackRDF

We shouldn't have to install and build JackRDF separately from JackSON. Including it from git in the Gemfile doesn't seem to be working, as the rake tasks can't find it

Should not have to install fake data to get templates setup properly

Is node.js really used in production deployment? I.e. we aren't going to serve via express but Apache right?

JackSON tests are failing with timeout

Should be able to build app.css without having to run bundle exec compass watch .. i.e. in production mode we won't be running this

with passenger deployment and proxy, path to third_party libs in imgcollect index.html is wrong

when Fuseki is run behind an apache proxy, it seems it doesn't automatically obey the content-type headers in the request, so queries may need to specify output format directly

Path assumption in item.js -- "default/scope.type/json" -- assumes you are at the document root

After you remove the fake data the default templates are gone

Have to reboot imgup after each upload -- weird failure on parsing settings App 8628 stderr: 74.70.97.104 - - [08/Jan/2015:16:51:09 +0000] "GET /data/default/upload.json " 200 2066 0.0008 App 8792 stderr: NoMethodError - undefined method each' for "http://www.perseids.org":String: App 8792 stderr: /usr/local/imgup/imgup.server.rb:151:in allow_origin' App 8792 stderr: /usr/local/imgup/imgup.server.rb:167:in `block in <top (required)>'

default/upload.json has a syntax error (height and width not set to any value)

JACKSON data_url method doesn't work for proxy def data_url( pth ) "#{request.env['rack.url_scheme']}://#{request.host_with_port}/data/#{pth}" end

imgup src doesn't work for proxy: out[:src] = "http://#{request.host_with_port}/#{path}"

No notice if put to fuseki fails??

New collection: no notice if specified collection name is taken

Clone this wiki locally