Repository navigation
Add script to automatically generate .env.local with secure secrets during development - #173
Pranava-Pai-N wants to merge 3 commits into
Conversation
👷 Deploy request for dk242 pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for dk24 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
🙌 Welcome @Pranava-Pai-N!
Thank you for contributing to the DK24 - Community Website 💻. This platform connects college tech communities to learn and grow together.
Your pull request will be reviewed soon. Please ensure it follows our guidelines and includes appropriate labels like feature, fix, or refactor.
Together, let’s build something amazing! 🚀
gaureshpai
left a comment
There was a problem hiding this comment.
suggestion: isn't it better to have it pre build than pre dev?
|
Hi @gaureshpai thanks for the suggestion, but i assume that developers need .env.local set up when starting local dev (predev), not when building. Plus, running it in prebuild could break production deployment pipelines by generating localhost defaults during build time. |
|
@jtuluve need ur take on this PR |
✅ Deploy Preview for dk24 ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
anishshobithps
left a comment
There was a problem hiding this comment.
Checkout https://varlock.dev/ I think it can be a good option here!
Pull Request
📋 Description
Added a predev script for generating .env.local with the dev command
🔄 Type of Change
🧪 Testing
Added predev script for auto setup and also manual setup by developer, also updated contributing docs.
📝 Additional Notes
PR for issue #172