Questions tagged [environment]
The environment tag has no summary.
                42 questions
            
            
            
                5
            
            votes
        
        
            
                3
            
            answers
        
        
            
                519
            
            views
        
        
            
            
            
        How do I decide whether an option belongs in an environment variable, command-line option, or both?
                    I am working on an executable program - an application or utility. At some point, I want to introduce a new option (to be considered at run-time rather than build-time); the option may be boolean, ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                247
            
            views
        
        
            
            
            
        How to manage working directory in interactive development environments like Jupyter Notebook?
                    I'm having trouble with managing the working directory in Jupyter Notebook. For example, I have a .py script that requires me to change the working directory to its directory to run it properly. I've ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                151
            
            views
        
        
            
        ASP.NET Core configuration system: Isn't the default configuration prone to naming conflicts in environment variables?
                    I'm trying to wrap my head around the ASP.NET Core Configuration system.
If I understand the default configuration correctly, non-prefixed environment variables will override appsettings.json entries.
...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                82
            
            views
        
        
            
        Maintaining modularity while keeping (secret) configuration separate from application code
                    This is more a curiosity/query-for-information than anything; apologies if it's thus a little malformed:
This is relevant to a useful API-querying library that can be shared across multiple teams ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                96
            
            views
        
        
            
        When does it make sense to have an implicit contract between a runtime env. and an internally used library?
                    ┌────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                                 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                2
            
            answers
        
        
            
                156
            
            views
        
        
            
        Decisions according to environment
                    I am trying to convince others that the following first code snippet is bad practice and the second snippet is best practice.
Bad practice:
// There is only one implementation of Adapter
public ...
                
            
       
        
            
                2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                3k
            
            views
        
        
            
            
            
        What’s the standard used to deploy .env files?
                    I used docker to containerize the node.js express app and used GitHub action to add the .env file in the container. I googled this method when I was doing the DEV project. But I think that if someone ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                146
            
            views
        
        
            
            
            
        Better management of ~1000 lines of environment configuration properties?
                    Background/Our situation:
Our environment has many components, including database, Windows Server, Linux, ETL platform, Scheduler Platform, and about 5 other types (so 8 total components = code ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                644
            
            views
        
        
            
            
        How to design config files for each environment in github?
                    I have a list of application configs and business configs in a particular root folder inside our git repository.
Below is our current structure as of now:
We have a root Data folder and inside that ...
                
            
       
        
            
                -2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                162
            
            views
        
        
            
            
        Is there justification for testing only master in an integration environment?
                    We have a series of environments; Let's call them Development, Integration, Business and Production.
As a rule, we do not let master get deployed beyond Development, meaning any code which is to be ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                1k
            
            views
        
        
            
        How to configure front-end web application from environment?
                    I'm working on a relatively thin front-end web application that talks to an API. Depending on where this front-end application is served from (CI server, staging server, production server, etc.) I ...
                
            
       
        
            
                -2
            
            votes
        
        
            
                4
            
            answers
        
        
            
                448
            
            views
        
        
            
            
        How do I handle 2 or more parallel development environments on different machines?
                    I have a Windows PC and a Ubuntu laptop that I use for development. One of my main issues is that I switch between them multiple times a day, but because they are different machines, I am unable to ...
                
            
       
        
            
                4
            
            votes
        
        
            
                1
            
            answer
        
        
            
                684
            
            views
        
        
            
            
        How to organize projects in AWS?
                    In our team, we are using AWS as our main cloud provider and currently, we have 3 projects hosted on their platform. 
We are about to have 2 more projects in the next weeks, but first, we want to ...
                
            
       
        
            
                2
            
            votes
        
        
            
                0
            
            answers
        
        
            
                69
            
            views
        
        
            
            
        How to model a user management system that deals with both pre-production and production databases?
                    Context
I am currently working on a user management applications (UMA) that manages a data warehouse security management (users, rights etc.).
The data warehouse has production databases (and ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                1
            
            answer
        
        
            
                483
            
            views
        
        
            
        What goes into .env file?
                    Working on a huge application with lots of legacy code, I often encounter environment "checks":
db_name = Rails.env.production? ? 'staging_db' : 'production_db'
...
desired_processes_count = Rails....
                
            
       
         
         
        