Skip to content

Replace environment bootstrap with direnv#169

Open
khaledhassan wants to merge 2 commits intomasterfrom
bootstrap-with-direnv
Open

Replace environment bootstrap with direnv#169
khaledhassan wants to merge 2 commits intomasterfrom
bootstrap-with-direnv

Conversation

@khaledhassan
Copy link

@khaledhassan khaledhassan commented Jun 19, 2023

Use direnv to initialize environment variables - this prevents the need to bake the infrastructure/scripts dir into your ~/.bashrc directly, by automatically loading/unloading when you enter/leave your working copy directory

@@ -39,6 +39,10 @@ git pull --rebase origin master
./infrastructure/scripts/environment_bootstrap.sh
```
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this looks good, better to remove the environment_bootstrap.sh script and instructions so as to not maintain 2 sets of bootstrap scripts? (Then again, not a huge burden as the environment_bootstrap.sh has not changed much 😄 )

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sentree / @benkroop - should we remove environment_bootstrap.sh or keep it around?

Copy link
Contributor

@rleyva rleyva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - should we try and land this?

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.

3 participants