Starting the Studio
How to run Raft DB Studio, served by raftdb-server, with the exact command.
Served by the Raft DB server (connect and edit)#
The server serves the Studio's files from a folder you name. Command:
raftdb-server.exe --dir <data dir> --addr 127.0.0.1:7490 --shards 2 --studio <Studio folder> --seconds 600
# browse to http://127.0.0.1:7490/--seconds N stops the server after N seconds. The page is served with a strict Content-Security-Policy. Only files of the types
html js mjs css json svg png ico are served, and nothing outside the directory.
Because the policy only allows requests to the page's own origin (connect-src 'self'), the Studio must be opened from the server for the default address to work. To connect one page to several servers, see
Connecting to a server.
Tests and measurements#
The Studio's speed was measured with a generated file (first rows, load and scan); the results are on Studio speed. Sample documents can be loaded into a running server through the import endpoint (see Import and export).
Browsers#
The Studio was exercised in Chrome. Firefox, Safari and mobile browsers were not run; the code uses features that current versions of all three support, but that is not a test result.