threadr.lostcave.ddnss.de/config/README.md

17 lines
816 B
Markdown
Raw Normal View History

2021-09-02 02:40:53 +02:00
# Files
### [about.template](./about.template)
2021-09-02 15:47:01 +02:00
The customizable part of the content page, HTML code for now, will eventually be replaced with a markdown file
### [instance.conf](./instance.conf)
configuration for a specific instance
- domain_name=<public facing domain name of the instance>
- threadr_dir=<directory on the webhost>
- db_username=<mysql user>
- db_password=<mysql password>
2021-09-02 15:47:01 +02:00
The format is strictly `<option>=<value>` because the mechanism used to load the config values is very simple. Dont add additional whitespace for fancy formatting. Things *will* break. You have been warned.
2021-09-02 15:47:01 +02:00
The config is loaded once on deployment by the "variable grabbler" macro processor with `["exec","echo -n \"$(sed --quiet \"/<option>=/s/.*=//p\" config/instance.conf)\""]`.
2021-09-02 02:40:53 +02:00
### [README.md](./README.md)
this file