@@ -4,6 +4,7 @@ This Web app allows users to easily execute queries over multiple data sources (
44inspect the corresponding results.
55
66Table of contents:
7+
78* [ Preface] ( #preface )
89* [ Getting Started] ( #getting-started )
910* [ Static, production build] ( #static-production-build )
@@ -24,7 +25,7 @@ Table of contents:
2425
2526## Preface
2627
27- This repository defines a Web application in the directory ` main ` and some auxiliary tools for testing and supporting a demo in the directory ` aux ` .
28+ This repository defines a Web application in the directory ` main ` and some auxiliary tools for testing and supporting a demo in the directory ` test ` .
2829
2930## Getting Started
3031
@@ -47,13 +48,13 @@ Now you can browse the displayed URL.
4748The queries provided in the example configuration ` main/src/config.json ` access data located in pods at localhost.
4849To have these up and running, you need to install the auxiliary tools first.
4950
50- Go to directory ` aux ` and execute:
51+ Go to directory ` test ` and execute:
5152
5253``` bash
5354npm install
5455```
5556
56- Next, also in directory ` aux ` , activate the supporting resources:
57+ Next, also in directory ` test ` , activate the supporting resources:
5758
58591 . In a new terminal window, prepare and start the local pods:
5960
@@ -74,7 +75,7 @@ Next, also in directory `aux`, activate the supporting resources:
7475 ```
7576
7677Some queries require a log in.
77- Log in with the IDP ` http://localhost:8080 ` and the credentials for the user owning the pod named ` example ` in the file ` aux /seeded-pod-config.json` .
78+ Log in with the IDP ` http://localhost:8080 ` and the credentials for the user owning the pod named ` example ` in the file ` test /seeded-pod-config.json` .
7879
7980## Static, production build
8081
@@ -302,9 +303,9 @@ They've already got styling matching that of `react-admin` and are easy to use.
302303To support the provided example configuration ` main/src/config.json ` and the tests, this repo integrates some local pods.
303304You can make use of these for your own tests. Follow these steps:
304305
305- * Add your data and ` .acl ` files in the ` aux /initial-pod-data` folder.
306+ * Add your data and ` .acl ` files in the ` test /initial-pod-data` folder.
306307 These files will be available in the pod relative to ` http://localhost:8080/example/ ` .
307- * Prepare the pods by executing ` npm run reset:pods ` in directory ` aux ` .
308+ * Prepare the pods by executing ` npm run reset:pods ` in directory ` test ` .
308309
309310## Testing
310311
@@ -329,31 +330,31 @@ The development version might be tested repeatedly during development.
329330 npm run build
330331 ```
331332
332- In directory ` aux ` :
333+ In directory ` test ` :
333334
334335 ``` bash
335- npx http-server -p 5173 ../main/dist
336+ npm run serve
336337 ```
337338
338- 2 . In a new terminal window, in directory ` aux ` , prepare and start the local pods:
339+ 2 . In a new terminal window, in directory ` test ` , prepare and start the local pods:
339340
340341 ``` bash
341342 npm run reset:pods && npm run start:pods
342343 ```
343344
344- 3 . In a new terminal window, in directory ` aux ` , start the http proxy:
345+ 3 . In a new terminal window, in directory ` test ` , start the http proxy:
345346
346347 ``` bash
347348 npm run start:proxy
348349 ```
349350
350- 4 . In a new terminal window, in directory ` aux ` , start a server which denies all CORS headers:
351+ 4 . In a new terminal window, in directory ` test ` , start a server which denies all CORS headers:
351352
352353 ``` bash
353354 npm run start:badCors
354355 ```
355356
356- 5 . Finally, in a new terminal window, in directory ` aux ` , you can execute the tests by running:
357+ 5 . Finally, in a new terminal window, in directory ` test ` , you can execute the tests by running:
357358
358359 For normal test execution:
359360
0 commit comments