diff --git a/.dvc/config b/.dvc/config index 4cf322d..c51d79a 100644 --- a/.dvc/config +++ b/.dvc/config @@ -1,2 +1,5 @@ [core] autostage = true + remote = origin +['remote "origin"'] + url = webdav://vdrichtext.intra.inist.fr:7000/ diff --git a/astro-ner/.gitignore b/astro-ner/.gitignore index 975ec02..617767a 100644 --- a/astro-ner/.gitignore +++ b/astro-ner/.gitignore @@ -3,3 +3,4 @@ /train_data /astro.xlsx /best-model.pt +.env diff --git a/astro-ner/README.md b/astro-ner/README.md index 298ae4d..58d508e 100644 --- a/astro-ner/README.md +++ b/astro-ner/README.md @@ -6,3 +6,17 @@ pip install wheel # pré-requis nécessaire pip install dvc[webdav] ``` + +## Configurer le remote DVC + +Dans le .env mettre les trois lignes suivantes : + +```bash +export WEBDAV_URL=webdav://???????? +export WEBDAV_LOGIN=???? +export WEBDAV_PASSWORD=????? +``` + +Pour prendre en compte ces trois lignes : `source .env`. + +Pour déclarer un remote DVC : `dvc remote add -d origin $WEBDAV_URL`