Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 881 Bytes

data-sync.md

File metadata and controls

18 lines (12 loc) · 881 Bytes

Geotrek-rando documentation

‹ Back to README

Synchronize data

You have to set up a data directory on the Geotrek-Rando server and synchronize it with Geotrek-Admin data. To do so, you have to run the Geotrek-Admin command (<...> has to be replaced by your actual configuration):

sudo geotrek sync_rando -v2 --url <https://url_of_my_geotrek_admin_serveur> --rando-url <https://url_of_my_geotrek_rando_website> <my_data_directory>

If Geotrek-Admin and Geotrek-Rando are not on the same server, you have to transfer data by your own (ftp, ssh, usb key…). If you want to synchronize automatically every night, you can configure a cron task. Make sure access rights will allow nginx to read all files in <my_data_directory>.

Check Geotrek-admin documentation for more information.