Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [environment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
55 views

When does it make sense to have an implicit contract between a runtime env. and an internally used library?

┌────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ...
user avatar
  • 101
0 votes
2 answers
130 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 ...
user avatar
  • 535
0 votes
1 answer
293 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 ...
user avatar
1 vote
1 answer
101 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 ...
user avatar
1 vote
1 answer
105 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 ...
user avatar
  • 21
-2 votes
1 answer
89 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 ...
user avatar
  • 445
2 votes
1 answer
648 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 ...
user avatar
  • 369
-2 votes
4 answers
222 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 ...
user avatar
  • 29
4 votes
1 answer
573 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 ...
user avatar
  • 201
2 votes
0 answers
56 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 ...
user avatar
  • 424
-1 votes
1 answer
224 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....
user avatar
  • 115
4 votes
0 answers
133 views

What are best practices for deploying different configurations per environment in Kubernetes/OpenShift?

Kubernetes provides a very elegant mechanism for managing configuration for pods using ConfigMaps. What's not clear from the documentation is what the recommended practice is for using ConfigMaps to ...
user avatar
  • 141
3 votes
2 answers
93 views

Environment configuration vs domain detection

We are developing an angular 5 application that must run in different environments (dev, qa, int, uat, prod), and connect to different APIs depending on the environment. We have traditionally have ...
user avatar
  • 141
0 votes
1 answer
129 views

Cheap and effective way to secure a transport permit of the wildlife to be prevent being reused

My scenario is like this. I work for a government agency that specialize in the Environment and Natural Resources. We want to make fool-proof functional system (software, hardware, people-ware, policy)...
user avatar
1 vote
4 answers
1k views

What are "orthogonal" environment variables? [12-factor app]

I was reading the 12-factor app while thinking about the design of a personal project. I like a lot of what I read, but the following paragraph confused me: In a twelve-factor app, env vars are ...
user avatar
  • 329
3 votes
1 answer
478 views

Having Staging and Production environments with different network virtualization

Current Setup We have a staging environment which used NFV (be precious NSX) to configure the network (Software load balancer and software firewall) The Production environment has used the ...
user avatar
  • 141
23 votes
5 answers
46k views

Whats the difference between staging and UAT environments?

I know we should have at least 3 different environments while developing a solution: Development: The programmers are free to change and push changes any time in order to quickly test their code and ...
user avatar
  • 3,990
3 votes
0 answers
93 views

Strategies to manage unruly system environments

In our IT dept we develop multiple systems in parallel, the systems are deployed to different environments, and they talk to each other using SOAP and REST. It's all ASP.NET but we're not in the cloud....
user avatar
0 votes
1 answer
625 views

Alternatives for Node.js environment specific code

I recently started to work in a startup that been around for almost 6 years now. Our main code base is in Node.js, which means that it has been used here since the early days and therefore there is a ...
user avatar
20 votes
7 answers
8k views

Manager wants a combined development & production environment

I work in a small programming team supporting a larger organisation. This year our manager has decided we are going to use Oracle Apex technologies to handle the vast majority of our company data. ...
user avatar
  • 229
0 votes
2 answers
262 views

Best Practice for supporting multiple login configs across Environments

This question has more to do with the structure and access of different configurations across a number of levels of development. What I mean by 'levels of development' is environments where the ...
user avatar
0 votes
2 answers
196 views

Working with multiple environments and vNext best practice

The new ASP.NET documentation under Fundamentals/Working with Multiple Environments it has a detailed description of how to handle multiple environments (surprise surprise) in code. I was wondering ...
user avatar
10 votes
1 answer
521 views

Dependency promotion strategies: siloed or orchestrated?

We have a lot of apps and web services (some public facing products, some internal and part of a private "backend") that are interdependent on one another. Each one of these components has 4 ...
user avatar
  • 4,640
3 votes
3 answers
7k views

What is a Database Environment?

I am going through Relational Database Design by JLM. I have come across words like database, data model, DBMS etc. which I am able to understand. But, I get confused when the author tries to use ...
user avatar
  • 141
9 votes
6 answers
1k views

Should a package manager modify your .bashrc file?

I am writing a package for something that requires an environment variable to be set in order to execute properly. Should the install step of a package manager modify a user's environment, or simply ...
user avatar
  • 2,885
1 vote
2 answers
205 views

how do you manage api keys?

I have a few projects that use various webservices e.g. DropBox, AWS. For managing private information I use bash_profile which works great with heroku that uses env variables to manages secret ...
user avatar
  • 1,506
1 vote
2 answers
754 views

Is using os.environ to store the value of command line switches pythonic?

I write CLI-executable Python 3 scripts regularly to do data compilation and some maintenance tasks, and try to adhere to PEP 8 and the Google Python Style Guide when doing so. Google's guide says to ...
user avatar
5 votes
2 answers
314 views

Scalability of using environment variables

I just moved into the Ruby on Rails world and with it I am being introduced to much more liberal use of environment variables than what I have been exposed to in the past. Specifically, it appears ...
user avatar
  • 317
-3 votes
5 answers
2k views

Does Agile (scrum) require one server environment? [closed]

Is it necessary/recommend/best practice/any other positive to use only one server environment to perform all development, unit testing and QA? If so, is it then wise/part of Agile to then have only ...
user avatar
  • 445
0 votes
3 answers
638 views

Create Offline Demo Environment Database Substitute [closed]

I would like to know if there is a best practice for creating demo environments that substitutes database interaction into other forms of resource i.e. creating .json files containing the data that ...
user avatar
  • 125
3 votes
0 answers
716 views

How to organize integration tests and test data for different environments when using Maven Failsafe

I have started to separate my unit tests from my integration tests by using Maven Surefire and Failsafe. Now I'm wondering what good ways there are to deal with separate environments. Take for ...
user avatar
  • 1,073
3 votes
1 answer
843 views

script engine with no global environment (java)

I am curious about how global variables are handled by script engines. I am looking for a script engine that does not preserve the state of global variables upon invocation. Are there such engines out ...
user avatar
4 votes
2 answers
312 views

Should program behavior be modified using a config file or environmental variables?

I'm referring to *nix command line applications primarily, where you want to permanently modify the behavior from defaults. Environmental variables are easily understood and implemented, usually ...
user avatar
  • 994
2 votes
4 answers
1k views

Development setup for TDD. Is it correct?

This is how my team has it's development environment set up: Each team member has a local development environment on their own computer, where they check out the code from a shared repository. Every ...
user avatar
  • 221
2 votes
5 answers
478 views

Senior project environment selection

My 2 friends and I are preparing our senior project idea for next year. I need some of different ideas while deciding the base environment of the project, especially from software developers/engineers ...
user avatar
12 votes
2 answers
272 views

Should there be a "data hygiene" index for software - to indicate how clean the program is? not leaving temp files, etc

Should there be a "data hygiene" index for software - to indicate how clean the program is? not creating unused temp files, registry entries, environment variables, etc. For example, look in your ...
user avatar
2 votes
6 answers
195 views

Upgrading from XP Pro to Win 7, anything I should worry about?

I do mainly .NET work so I assume that the framework is all fine and that. But have there been reports of various tools like .NET Reflector and the like not working properly with Win 7? This is a ...
user avatar
  • 131
42 votes
16 answers
65k views

What justifies the use of an IDE versus a standard editor? [closed]

I find myself using my text editor of choice (vim, nano, gedit, pick your poison) much more often than any IDE as of late. After noticing my ide shortcuts getting dusty I started to think about ...