Skip to content

Commit 5b62675

Browse files
committed
fix(docs): Fix the path to the documents inside the pod. Remove explicit 'insert-or-replace' option, since it is the default.
1 parent 8269f79 commit 5b62675

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

DEVELOPING.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ Upload the locally-modified file into your instance:
8080
.. code-block:: console
8181
8282
$ docker exec -i -t opendatacernch-web-1 cernopendata fixtures records \
83-
--mode insert-or-replace \
8483
-f /content/data/records/cms-primary-datasets.json
8584
8685
You can then check your changes at `http://127.0.0.1:500
@@ -93,7 +92,7 @@ all experiment records locally, for example for ATLAS:
9392
9493
$ for file in data/records/atlas-*; do \
9594
docker exec -i -t opendatacernch-web-1 cernopendata fixtures records \
96-
--mode insert-or-replace -f $file; \
95+
$file; \
9796
done
9897
9998
Understanding metadata fields
@@ -152,8 +151,7 @@ Upload the locally-modified file into your instance:
152151
.. code-block:: console
153152
154153
$ docker exec -i -t opendatacernch-web-1 cernopendata fixtures docs \
155-
--mode insert-or-replace \
156-
-f data/docs/lhcb-about/lhcb-about.json
154+
-f /content/data/docs/lhcb-about/lhcb-about.json
157155
158156
Note that, similarly as for records, we are uploading document JSON files,
159157
using the `fixtures docs` command. Even if you would like to change only the

0 commit comments

Comments
 (0)