-
-
Save StevenTso/6ca8d090b82783dcb230 to your computer and use it in GitHub Desktop.
Environmental Variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//make sure to run 'source env.sh' or else keys will be undefined! | |
console.log('AWS KEY: ' + process.env.AWS_KEY); | |
console.log('MONGODB KEY: ' + process.env.MONGODB_KEY); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export AWS_KEY=123456789 | |
export MONGODB_KEY=987654321 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment