Skip to content

Commit e107d7c

Browse files
committed
Update CUBED_CONFIG path in example README.md (#530)
While testing cubed, I was experiencing a lot of new-user environment issues. One issue was that I'd setup `CUBED_CONFIG` to point to a directory rather than a file path, as is shown in this example. However, I was hacking on a problem and had several `yaml` files that I was testing on. Depending on my naming convention, different files might get picked up as my `CUBED_CONFIG`. A better practice is to explicitly name the file in the README example.
1 parent 28daade commit e107d7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ The `add-asarray.py` script is a small example that adds two small 4x4 arrays to
3737
Export `CUBED_CONFIG` as described in the set up instructions, then run the script. This is for running on the local machine using the `processes` executor:
3838

3939
```shell
40-
export CUBED_CONFIG=$(pwd)/processes
40+
export CUBED_CONFIG=$(pwd)/processes/cubed.yaml
4141
python add-asarray.py
4242
```
4343

4444
This is for Lithops on AWS:
4545

4646
```shell
47-
export CUBED_CONFIG=$(pwd)/lithops/aws
47+
export CUBED_CONFIG=$(pwd)/lithops/aws/cubed.yaml
4848
python add-asarray.py
4949
```
5050

0 commit comments

Comments
 (0)