Creates a sample settings file, by default (leading dashes for formatting, whitespace in the actual file):
current: qa
all:
— share: /media/share
qa:
— certdir: path/to/qa/certs
— server: https://hqlqasws1.hq.un.fao.org:8181/sws
— token: abcdef0123456789
production:
— certdir: path/to/prod/certs
— server: https://hqlprswsas1.hq.un.fao.org:8181/sws
— token: 9876543210fedcba
1 2 | AddSettings(dir = ".", filename = "sws.yml", gitignore = TRUE,
fields = NULL)
|
dir |
character. Directory in which to write settings files |
filename |
character. Name of settings file to write |
gitignore |
logical. Should this file be added to the .gitignore? |
fields |
list. Manually specify the structure of the settings file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.