- 
                Notifications
    You must be signed in to change notification settings 
- Fork 29
Set up a standalone datastore locally
        Florian M edited this page Sep 25, 2023 
        ·
        11 revisions
      
    (Related: Set up a standalone tracingstore locally)
- disable the local datastore by adding three lines to the end of conf/application.conf:
play.modules.disabled += "com.scalableminds.webknossos.datastore.DataStoreModule"
play.http.router = "noDS.Routes"
- 
on the local postgresql database, run with SQL: - delete from webknossos.datastores where name = 'localhost';
- insert into webknossos.datastores(name, url, publicUrl, key, isDeleted) values('standalone-9090', 'http://localhost:9090', 'http://localhost:9090', 'something-secur3', false);
 
- 
next, you need two shells in wK base dir: - in the first, run sbt "webknossosDatastore/run 9090 -Dconfig.file=webknossos-datastore/conf/standalone-datastore.conf"
- in the second, run sbt run
 
- in the first, run 
- 
next, in a browser - navigate to wK at localhost:9000and click refresh in the database list. This will take a while (datastore needs to launch). You should then see datasets.
 
- navigate to wK at