Add a local server to test store_data #27
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sfb1451/z03-assessment-center-data-entry!27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nf-local-server"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR adds a local server that can execute
store_data.applicationbased on an HTTP-request, ususally from a browser.The server is started with (if
cwdis the root of the project):It serves at
http://local_host:8000. By copyingentry.htmltoentry_local.htmland changing theformactionattribute inentry_local.htmltohttp://localhost:8000/store_data, you can use your browser onentry_local.htmlto test the behavior ofstore_data.application.This PR is geared toward a unixy system, i.e. it assumes that a writable
/tmp-directory exists. It also assumes:dataladis in your path/tmp/sfb-testexists and is a datalad dataset/tmp/sfb-test-homeexists and is a writeable directory