-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathload_to_eXist.sh
More file actions
23 lines (16 loc) · 793 Bytes
/
Copy pathload_to_eXist.sh
File metadata and controls
23 lines (16 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
EXIST_IP="127.0.0.1:8181"
# Upload XSLT
curl $EXIST_IP/exist/rest/Ramona/DDI-Instrument_to_XForms.xsl -T DDI-Instrument_to_XForms.xsl
curl $EXIST_IP/exist/rest/Ramona/DDI_to_FlowDiagram.xsl -T DDI_to_FlowDiagram.xsl
curl $EXIST_IP/exist/rest/Ramona/DDI_to_Graphviz.xsl -T DDI_to_Graphviz.xsl
curl $EXIST_IP/exist/rest/Ramona/DDI_to_ResponseML.xsl -T DDI_to_ResponseML.xsl
curl $EXIST_IP/exist/rest/Ramona/responseML_to_Skips.xsl -T responseML_to_Skips.xsl
curl $EXIST_IP/exist/rest/Ramona/stringFunctions.xsl -T stringFunctions.xsl
# Upload Config
curl $EXIST_IP/exist/rest/Ramona/config.xml -T config.xml
# Upload themes
./load_theme.sh $EXIST_IP koala
./load_theme.sh $EXIST_IP ramona
# Upload example file
curl $EXIST_IP/exist/rest/ddi/dogsurvey.xml -T forms/DogSurvey.xml