Skip to content

Set up a standalone tracingstore locally

Florian M edited this page Oct 29, 2018 · 6 revisions

(Related: Set up a standalone datastore locally)

  • disable the local tracingstore by adding three lines to the end of conf/application.conf:
play.modules.disabled += "com.scalableminds.webknossos.tracingstore.TracingStoreModule"
tracingstore.enabled = false
play.http.router = "noTS.Routes"
  • on the local postgresql database, run with SQL:
    • delete from webknossos.tracingstores where name = 'localhost';
    • insert into webknossos.tracingstores(name, url, key, isDeleted) values('standalone-9050', 'http://localhost:9050', 'something-secur3', false)

next, you need three shells in wK base dir:

  • in the first, run ./fossildb/run.sh
  • in the second, run sbt "webknossosTracingstore/run 9050 -Dconfig.file=webknossos-tracingstore/conf/standalone-tracingstore.conf"
  • in the third, run sbt run (without the ./)

next, in a browser

  • navigate to localhost:9000 to make wK launch
  • navigate to localhost:9050 to make standalone-tracingstore launch (should display action not found page)
  • back in wK, you should be able to access tracings