Skip to content

[production machine] Manually fetch the SQLDataExport.csv file

Ingi Erli edited this page Feb 9, 2022 · 4 revisions

Access the machine

Run the command

cd /home/<user>/repos/swedishbirdrecoveries/docker-compose/bin

#!/bin/bash

docker exec shiny \
Rscript /usr/local/lib/R/site-library/swedishbirdrecoveries/exec/update_data.R

docker restart shiny

Verify, check if the updated content is in place

If the latest content is here

If not the latest-content has been loaded

Then the latest is from 2017-11-10

  • check the Table-tab -> Check the column recovery date
  • 2017-11-10 Redpoll Carduelis flammea Fullgrown 2013-10-11 Sweden Södermanland 2017-11-08 Denmark Sjælland Controlled by a ringer - bird caught and released.
  • Then the content has been read from the built-in test-database.