caresetjournal / batea_consent

Angular based rewrite of the SageBioNetworks Participant-Centered Consent Toolkit for web-apps
MIT License
3 stars 1 forks source link

Make the Server to submit to a configuration variable #3

Closed ftrotter closed 8 years ago

ftrotter commented 8 years ago

There should be a configuration file config.json somewhere reasonable (main directory, config subdirectory, etc etc) where you define where the POST goes to. It should not be hard-coded in sourcecode.

Remember not to include configuration files directly in git! there should be a config-template.json that has all of the required configuration values stubbed out. Be sure to add an entry in .gitignore to prevent a deployments config.json from being sucked into git.

-FT