Add process.env || secrets for env vars

This patch has some intermediate work on closing rounds, but more importantly, fixes an error caused by requiring a file in .gitignore. Environmental variables have been added to the Azure deployment.