Closed Garfield-fr closed 2 years ago
Co-Authored-by: Bertrand Zuchuat bertrand.zuchuat@rero.ch
⚠️ ES update mapping ⚠️ Production
poetry shell
./script/bootstrap
./script/setup --clear-data
invenio oaiharvester harvest -n rerodoc -q -a max=200 -f 2021-10-01
invenio sitemap generate -d sonar.rero.ch
invenio sitemap generate -d folia.unifr.ch
https://localhost:5000/global/sitemap.xml
https://localhost:5000/unifr/sitemap.xml
by default: disallow indexation
https://localhost:5000/robot.txt
SONAR_APP_PRODUCTION_STATE
robots.txt
robot.txt
Co-Authored-by: Bertrand Zuchuat bertrand.zuchuat@rero.ch
⚠️ ES update mapping ⚠️ Production
How to test?
poetry shell
./script/bootstrap
./script/setup --clear-data
Sitemap
invenio oaiharvester harvest -n rerodoc -q -a max=200 -f 2021-10-01
invenio sitemap generate -d sonar.rero.ch
(for global view)invenio sitemap generate -d folia.unifr.ch
(for global view)https://localhost:5000/global/sitemap.xml
https://localhost:5000/unifr/sitemap.xml
(if you are some documents)Robot.txt
by default: disallow indexation
https://localhost:5000/robot.txt
SONAR_APP_PRODUCTION_STATE
to Truehttps://localhost:5000/robot.txt
(allow indexation and show sitemap link)Code review check list