If you want to process incoming mails, add another instance like the previous,
substituting `mail` for `cron`.
To put this all together, you may want to wrap this in docker-compose. See
the [foodcoops.net setup](https://github.com/foodcoops/foodcoops.net/) for a real-world example.
## Connecting Foodsoft
To use shared suppliers from this sharedlists instance from within Foodsoft, you need
to configure the [`shared_lists` option](https://github.com/foodcoops/foodsoft/blob/31689dfb75d203ab39405c313817e8c40e2cab36/config/app_config.yml.SAMPLE#L154)
in its `config/app_config.yml`. Don't forget to grant the Foodsoft database user
`SELECT` access on sharedlists' `suppliers` and `articles` tables.
## Updating articles
Articles in the database can be updated regularly. There are currently two options to
do this automatically.
### FTP
Some suppliers distribute article lists via FTP. You can use the rake task
called `sync_ftp_files` in order to download and parse those article
lists. First, you need to enable FTP synchronization for a certain supplier by
activating the checkbox _Synchronize FTP files_. Fill out all corresponding form
fields. In particular, make sure to adjust the *file filter (regular
expression)* such that it matches the files of interest; non-matching files are
ignored. The two supported file formats and sensible choices for a corresponding