@colony2/cortex 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,12 +42,12 @@ the executable.
|
|
|
42
42
|
|
|
43
43
|
Open `http://localhost:8080`. The working directory should be a Git checkout
|
|
44
44
|
with a c2j cell configuration; see the
|
|
45
|
-
[minimal fixture](web/app/tests/fixtures/cell/.
|
|
45
|
+
[minimal fixture](web/app/tests/fixtures/cell/.c2/config.yaml).
|
|
46
46
|
|
|
47
47
|
| Option | Environment variable | Default |
|
|
48
48
|
| --- | --- | --- |
|
|
49
49
|
| `--addr` | `CORTEX_ADDR` | `:8080` |
|
|
50
|
-
| `--jobdb` | `C2J_JOBDB` | `jobdb` from `.
|
|
50
|
+
| `--jobdb` | `C2J_JOBDB` | `jobdb` from `.c2/config.yaml` |
|
|
51
51
|
| `--working-dir` | `CORTEX_WORKING_DIR` | Current directory |
|
|
52
52
|
| `--cors-origins` | `CORTEX_CORS_ORIGINS` | Empty; comma-separated origins |
|
|
53
53
|
|
|
@@ -65,7 +65,7 @@ C2J_JOBDB=http://localhost:9047/c2 cortex
|
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
Resolution follows `--jobdb`, then `C2J_JOBDB`, then the nearest ancestor
|
|
68
|
-
`.
|
|
68
|
+
`.c2/config.yaml`. Cortex calls c2j's `pkg/config.LoadProjectConfig` and
|
|
69
69
|
`ProjectConfig.JobDBURI` directly, including support for command-valued settings:
|
|
70
70
|
|
|
71
71
|
```yaml
|
|
@@ -75,6 +75,9 @@ jobdb: http://localhost:9047/c2
|
|
|
75
75
|
# command: your-command-that-prints-a-jobdb-uri
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
If your project still uses `.c2j/config.yaml`, move it to `.c2/config.yaml`;
|
|
79
|
+
c2j no longer discovers configuration in the old directory.
|
|
80
|
+
|
|
78
81
|
Run `cortex` from that cell or a subdirectory, or select the discovery directory
|
|
79
82
|
with `--working-dir`. Cortex requires a remote HTTP(S) JobDB server; `embed:///`
|
|
80
83
|
is not supported.
|