Feature #1196

Modify Server to Accept Configuration Files

Added by Pavan Rikhi almost 2 years ago. Updated 8 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:ServerSpent time:-
Target version:v2.0.0 - Post-Migration Issues
Easy Pickings:

Description

Instead of passing everything through env vars, we could have yaml files. Maybe both?

For env vars, there's this nicer library:
https://github.com/dmjio/envy/blob/master/README.md

For config files:
https://hackage.haskell.org/package/yaml-config-0.4.0/docs/Data-Yaml-Config.html

For arguments:
https://hackage.haskell.org/package/optparse-applicative
http://hackage.haskell.org/package/cmdargs

Used cmdargs in hkredmine.

History

#1 Updated by Pavan Rikhi 8 months ago

  • Category changed from General to Server

Also available in: Atom PDF