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
Once the `dataherb configure`command is run, a `config.json` file will be created inside the folder `~/.dataherb`.
36
+
37
+
```json
38
+
{
39
+
"workdir": "~/dataherb",
40
+
"default": {
41
+
"flora": "flora"
42
+
}
43
+
}
44
+
```
45
+
46
+
| key | example | description |
47
+
|---|---|---|
48
+
|`workdir`|`~/dataherb`| The work directory for dataherb. |
49
+
|`default.flora`|`flora`| The name of the flora to be used by default. For example, the value `flora` means we will use the `flora.json` database in the folder `(workdir setting in the above row)/flora/flora.json`. |
50
+
51
+
52
+
!!! note "More about `workdir`"
53
+
By default, two folders will be created inside it: `~/dataherb/flora` (default storage for all flora) and `~/dataherb/serve` (the cache folder for the website of all datasets when we run `dataherb serve`)
54
+
55
+
!!! note "More about `default.flora`"
56
+
If `workdir` is set to `~/dataherb`, then the database will be `~/dataherb/flora/flora.json`. If the value of `default.flora` is set to `abc`, then the database will be `~/dataherb/flora/abc.json`.
0 commit comments