z03-assessment-center-data-.../tools
Michał Szczepanik dfdba8c168
All checks were successful
Server tests / build (push) Successful in 26s
Add a short description of local (test) server
2026-02-20 20:24:47 +01:00
..
local_server.py add a local server to test store_data 2022-03-24 10:21:58 +01:00
README.md Add a short description of local (test) server 2026-02-20 20:24:47 +01:00

The local server needs a little bit of preparation:

First, change submit button to point to http://127.0.0.1:8000/store-data

Then, set up the dataset and the receiving end.

datalad create -d /tmp/sfb-test
git init --bare /tmp/sfb-test-entrystore
git -C /tmp/sfb-test remote add entrystore /tmp/sfb-test-entrystore
datalad push -d /tmp/sfb-test --to entrystore

Run the server with python3 tools/local_server.py.