Skip to content

Added pre-processing to env.sh for things like encryption#142

Open
nerdy-sam wants to merge 3 commits into
iron-meteor:masterfrom
nerdy-sam:env_sourcing_script
Open

Added pre-processing to env.sh for things like encryption#142
nerdy-sam wants to merge 3 commits into
iron-meteor:masterfrom
nerdy-sam:env_sourcing_script

Conversation

@nerdy-sam

Copy link
Copy Markdown

Took advantage of the iron-cli dep shell-source feature of custom sourcing wrappers. This way you can decide how to source the env.sh file. The example given is encrypting your env.sh files so creds don't show up in the git repo. Wouldn't be any problem to have different keys for development and production if desired.

Previously scaffolded out config/development/env.sh remains untouched.
Adds scaffolding for bin/env_handler.sh with encrypting example commented out.
Should work on windows (took great care to build paths windows compatible).... tested on OSX....

Mitzip and others added 3 commits April 20, 2015 16:35
with a custom env.sh sourcing script you can do things like gpg encrypt your env.sh file
Use env_handler.sh as a pre-processor for your env.sh scripts
@nerdy-sam nerdy-sam mentioned this pull request Apr 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants