-
Notifications
You must be signed in to change notification settings - Fork 30
Set up a standalone tracingstore locally
Florian M edited this page Oct 17, 2018
·
6 revisions
-
in
conf/application.conf, disable the local tracingstore:- comment out
play.modules.enabled += com.scalableminds.webknossos.tracingstore.TracingStoreModule"with a// - add
enabled = falsewithin thetracingstore { … }block
- comment out
-
in
conf/routes, disable the local tracingstore rerouting:- comment out
-> /tracings/ com.scalableminds.webknossos.tracingstore.Routeswith a#
- comment out
-
run
yarn refresh-schema -
on the local postgresql database, run with SQL:
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:9000to make wK launch - navigate to
localhost:9050to make standalone-tracingstore launch (should display action not found page) - back in the wK tab, click the refresh button in dataset list view, you should then see datasets.