forked from open-contracting/kingfisher-collect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sh.tmpl
25 lines (17 loc) · 1006 Bytes
/
env.sh.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# No tailing slash please
export KINGFISHER_API_URI=https://kingfisher.example
export KINGFISHER_API_KEY=api-key-here
export KINGFISHER_PARAGUAY_HACIENDA_REQUEST_TOKEN=paraguay-hacienda-api-request-token-here
export KINGFISHER_PARAGUAY_HACIENDA_CLIENT_SECRET=paraguay-hacienda-api-client-secret-here
export KINGFISHER_PARAGUAY_DNCP_REQUEST_TOKEN=paraguay-dncp-api-request-token-here
# Only set KINGFISHER_API_LOCAL_DIRECTORY if the directory the data files are saved in is accessible from the KingFisher Process server.
# Set the directory the server should look in to get the data files.
# So this should match up with the FILES_STORE value
#
# export KINGFISHER_API_LOCAL_DIRECTORY=/data
#
# eg
# A machine has Scrape installed in /var/lib/kingfisher-scrape/ and the FILES_STORE is just "data"
# The same machine has Process installed, and the user that runs the Process web server can read all the data files.
# Set KINGFISHER_API_LOCAL_DIRECTORY to /var/lib/kingfisher-scrape/data/