Content dir for docker-erddap incl setup.xml & dataset.xml
/datasets/
dirdatasets.xml
(TODO: see #33)docker-compose restart
is not needed)
datasets.xml
edits may require the docker container be restarted or rebuilt.NOTE: ${HOSTNAME}
is the name of the dockerhost system.
${USERNAME}
is your username (must have docker permissions).
/datasets/{dataset_name}/README.md
where {dataset_name}
is the name you have chosen for your dataset; try to follow the patterns of existing dataset names in /datasets/
./datasets/{dataset_name}/dataset.xml
:
ssh ${USERNAME}@${HOSTNAME}
alice
accessing the 2023 IMaRS ERDDAP hypervisor this is : alice@dune.marine.usf.edu
docker exec -it erddap bash -c "cd webapps/erddap/WEB-INF/ && bash GenerateDatasetsXml.sh -verbose"
/datasets/{dataset_name}/dataset.xml
filedataset_name
workflow
section above to finish applying the changes/erddapData/logs/log.txt
within the docker container for errors related to your dataset
docker exec -it erddap /bin/bash
DasDds
to find errors
docker exec -it erddap bash -c "cd webapps/erddap/WEB-INF/ && bash DasDds.sh -verbose"
docker-compose restart
docker-compose down --rmi all --volumes && docker-compose up -d
LoadDatasets
to finish & that all is well.[^1]: the crontab entry on dune that does this: */30 * * * * cd /root/docker_volumes/erddap-config ; /usr/bin/git checkout dune && /usr/bin/git pull && /usr/bin/git rebase origin/master && /usr/bin/git push -f origin dune