Skip to content

[FEATURE] Env file #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 22, 2025
Merged

[FEATURE] Env file #145

merged 5 commits into from
Apr 22, 2025

Conversation

darkspadez
Copy link
Contributor

.env file support

Currently bakery_hub and bakery are hard coded requiring manual intervention when forking. This allows for a .env file to override those values for better fork support.

I use -s as this will only source if file is there and is not empty.

How to use

Move .env.example to .env and update bakery and bakery_hub values and build.

This all stems from #135

@darkspadez
Copy link
Contributor Author

@t-lo Here is environment file support!

@t-lo
Copy link
Member

t-lo commented Apr 10, 2025

Nice work, thank you! This should really be helpful for local testing. Could you please also update README.md and call out the env file in the "host your own bakery" section? Might also be worth mentioning that people would need to git add --force it if they wish to maintain a long-term fork as it's in .gitignore.

@darkspadez
Copy link
Contributor Author

@t-lo Done!

Copy link
Member

@t-lo t-lo left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

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