Skip to content
Snippets Groups Projects

New read me how to develop on faidare

+ 8
3
@@ -78,7 +78,8 @@ docker run -t --volume /path/to/local/data:/opt/data/ --network=container:elasti
docker build -t registry.forgemia.inra.fr/urgi-is/docker-rare/faidare-loader:latest .
# Login before pushing the image
docker login registry.forgemia.inra.fr/urgi-is/docker-rare -u <your ForgeMIA username>
TOKEN= # your PAT from forgeMIA
echo "$TOKEN" | docker login registry.forgemia.inra.fr/urgi-is/docker-rare -u <your ForgeMIA username> --password-stdin
# push the built image
docker push registry.forgemia.inra.fr/urgi-is/docker-rare/faidare-loader:latest
@@ -104,9 +105,13 @@ docker run -t --volume ./data/test:/opt/data/ --network=container:elasticsearch-
*NB2*: Ensure you have an up to date access token to the container registry. If not, you can generate one from the [ForgeMIA](https://forgemia.inra.fr/urgi-is/docker-rare/-/settings/access_tokens) website or contact us.
For instance for MacOS ARM:
For instance for MacOS ARM on the new-api branch, the command would be:
```sh
docker run --platform linux/amd64 -t --volume ./data/test:/opt/data/ --network=container:elasticsearch-faidare registry.forgemia.inra.fr/urgi-is/docker-rare/faidare-loader:latest -jsonDir /opt/data/
docker compose up
docker run --platform linux/amd64 -t --volume ./data/test:/opt/data/ \
--network=container:elasticsearch-faidare registry.forgemia.inra.fr/urgi-is/docker-rare/faidare-loader:fix-newreadmehowtodeveloponfaidare \
-jsonDir /opt/data/
```
### Option 2: Running the Script Locally
Loading