You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Testing the production version](#testing-the-production-version)
@@ -366,6 +371,18 @@ They've already got styling matching that of `react-admin` and are easy to use.
366
371
367
372
## Advanced topics
368
373
374
+
### Adding your own configuration
375
+
376
+
The easiest way to add your own configuration is:
377
+
378
+
1. Get inspired by the configuration in `main/configs/demo`.
379
+
2. Choose your `<your-config>`: a string obeying regex `[a-z0-9-]+`; directory `main/configs/<your-config>` should not yet be in use.
380
+
3. Add your own queries in the `main/configs/<your-config>/public/queries` directory and in general, your own resources in the `main/configs/<your-config>/public` directory.
381
+
4. Add your own additional resources in `main/configs/<your-config>/public`, if the defaults you'll get from `main/config-defaults/public` are not satisfactory for you.
382
+
5. Write your own `main/configs/<your-config>/config.json` file, following the [configuration file documentation above](#configuration-file).
383
+
6. Run or build as documented above for the `demo` configuration, of course now using `<your-config>`.
384
+
7. Consider a pull request to add your configuration to this repo.
385
+
369
386
### Converting custom queries into common queries
370
387
371
388
Once you have your basic configuration working, you may extend it with custom queries interactively with the query editor
@@ -384,19 +401,11 @@ Follow these steps to get started:
384
401
5.**Adapt any other properties** according to your preferences.
385
402
6.**Save `main/configs/<your-config>/config.json`**, rerun or rebuild and refresh your browser to test.
386
403
387
-
## For developers
404
+
## Illustrations
388
405
389
-
### Adding your own configuration
406
+
*[A screencast about configs/onto-deside](doc/screencast-onto-deside.gif)
390
407
391
-
The easiest way to add your own configuration is:
392
-
393
-
1. Get inspired by the configuration in `main/configs/demo`.
394
-
2. Choose your `<your-config>`: a string obeying regex `[a-z0-9-]+`; directory `main/configs/<your-config>` should not yet be in use.
395
-
3. Add your own queries in the `main/configs/<your-config>/public/queries` directory and in general, your own resources in the `main/configs/<your-config>/public` directory.
396
-
4. Add your own additional resources in `main/configs/<your-config>/public`, if the defaults you'll get from `main/config-defaults/public` are not satisfactory for you.
397
-
5. Write your own `main/configs/<your-config>/config.json` file, following the [configuration file documentation above](#configuration-file).
398
-
6. Run or build as documented above for the `demo` configuration, of course now using `<your-config>`.
399
-
7. Consider a pull request to add your configuration to this repo.
0 commit comments