Closed emgrasmeder closed 9 years ago
One option is to add the data to your environment variables, as recommended here. Explaining how to do this across platforms should be linked to #1, in updating the documentation to be actually helpful.
I don't know how to do it on Ubuntu/Mac or how to do it right on Windows
the solution is to make a myJob.conf file with secret credentials, and have a line in the .gitignore that says *.conf
users will need to edit their own myJob.conf. It is apparently AN industry standard to talk to other clients over the phone and walk them through editing the .gitignore and myJob.conf files.
The goal is to make entering credentials (username/password) a one-time thing without users needing to change source code.
The solution needs to not just be a file in the repository, or else it will be pushed to the public.
That hack I'll use until this is resolved is to save the credentials locally (not in the same folder as the rest of the project, NEVER AGAIN) and hardcode-tell python where to find it. That's a my-computer specific fix w/o changing the source code.