Feature #1196

Modify Server to Accept Configuration Files

Added by Pavan Rikhi about 2 years ago. Updated 7 days ago.

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

0%

Category:ServerSpent time:-
Target version:v1.05.00 - Server Improvements
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 12 months ago

  • Category changed from General to Server

#2 Updated by Pavan Rikhi 18 days ago

  • Target version changed from v2.0.0 - Post-Migration Issues to v1.00.00 - Deployment

Config file w/ path specified by an optional argument would be useful for deployment.

#3 Updated by Pavan Rikhi 13 days ago

  • Target version changed from v1.00.00 - Deployment to v1.03.00 - Avalara & Server Improvements

#4 Updated by Pavan Rikhi 7 days ago

  • Target version changed from v1.03.00 - Avalara & Server Improvements to v1.05.00 - Server Improvements

Also available in: Atom PDF