tilburgsciencehub / website

Learn to work more efficiently on empirical research projects.
https://tilburgsciencehub.com
38 stars 48 forks source link

clarify how to use passwords in code #1107

Open hannesdatta opened 7 months ago

hannesdatta commented 7 months ago

https://github.com/tilburgsciencehub/website/issues/1107

Protecting your credentials whilst publishing code in git (reproducible research): Not sure how much of a common knowledge this is but I often see people use password: "Type your password" in the code and then modify their local versions. By this, they may accidently publish their pass in git history without realising it will still be there even if they remove it in their next commit (fixable of course). Better approach is to set an environment variable. Another approach is to set a local config file that is added to .gitignore. clarify how to use

Deliverables:

Looking forward to your draft and/or questions!