in Education by
Let's say you have a typical web app and with a file configuration.whatever. Every developer working on the project will have one version for their dev boxes, there will be a dev, prod and stage versions. How do you deal with this in source control? Not check in this file at all, check it with different names or do something fancy altogether? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
What I've done in the past is to have a default config file which is checked in to source control. Then, each developer has their own override config file which is excluded from source control. The app first loads the default, and then if the override file is present, loads that and uses any settings from the override in preference to the default file. In general, the smaller the override file the better, but it can always contain more settings for a developer with a very non-standard environment.

Related questions

0 votes
    Why do you think there is a need to made changes to the files, documents or the source codes in businesses?...
asked Feb 18, 2021 in Technology by JackTerrance
0 votes
    How do you deal when requirements change frequently?...
asked Nov 26, 2020 in Technology by Editorial Staff
0 votes
    Visual Studio 2005 .Net Framework 2.0 I have the AjaxControlToolkit within my web application bin folder ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    Can you relate of an experience when you found your colleagues code to be inefficient? How did you deal with it?...
asked Jun 13, 2021 in Education by Editorial Staff
0 votes
    How would you deal with slow application complaint from clients?...
asked Jun 11, 2021 in Technology by JackTerrance
0 votes
    You are given a data set consisting of variables with more than 30 percent missing values. How will you deal with them?...
asked Apr 26, 2021 in Technology by JackTerrance
0 votes
    I have a self hosted gitlab on ubuntu machine. I configure a linux container for it to run runner. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 22, 2022 in Education by JackTerrance
0 votes
    Can you name a few most important configuration files in Splunk?...
asked Oct 31, 2020 in Technology by JackTerrance
0 votes
    This question is often asked and resolved in many ways, but if I come back to the same question, ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 19, 2022 in Education by JackTerrance
0 votes
0 votes
    How do you convert single row from source into three rows into target?...
asked Mar 28, 2021 by JackTerrance
0 votes
    What is the feature of ANNs due to which they can deal with noisy, fuzzy, inconsistent data? (a) associative nature ... (d) none of the mentioned Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    Write 2 development programmes to deal with unemployment. Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    Point-of-sale intrusion does not deal with financial details and credit card information. (a) True (b) False This ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 4, 2021 in Education by JackTerrance
...