-
Notifications
You must be signed in to change notification settings - Fork 38
Provide default values for most configuration options #78
Comments
I should make it clear that this is a personal idea I had this morning. Project leadership will have to discuss whether it would really be a good move. |
I like this idea and think we should do it :-) Here's some details for implementation: In addition to the code change in |
If .env.template allows comments, the variables with defaults could be commented out, with their default values. If not, then I agree that just having them be the same as the code defaults makes sense. |
Hi, this is my first time contributing to OS, and I would like to give this issue a try. Thank You |
Hi @SagnikH. That would be great, thank you! Let us know if you have any questions or want us to look at a Work-In-Progress PR or anything like that. Often, the first step is to get your dev environment set up (get Starfish running for you locally). The README has a ton of info on how to do that. You've probably already read this, but in case you missed it, we also have a Contributing.MD you should read through. Thanks again. |
Hi @danisyellis, I have gone through both of them. |
@SagnikH Yes, thank you for noticing that! |
@danisyellis After we make this change, I think we need to change the function name along with some tests in the |
Hi @SagnikH In starfish.test.js, you're right that that test won't be necessary for the variables that will have defaults now. So let's change |
Hey @danisyellis, you were right. I have kept the |
Rather than always requiring users to create environment variables for everything, I would propose:
This would make it easier for users to try running starfish the first time. It would also avoid the need for tests to set up a bunch of environment variables that aren't directly relevant to the tests themselves.
The text was updated successfully, but these errors were encountered: