Questions tagged [development-environment]

Questions about the environment in which software development happens. This includes the hardware, software, and processes and methodologies used. Questions are expected to be unique to software development and require the expertise of people with education or experience in the field of software development.

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

How to avoid duplicate code when working with SOAP proxy classes in different environments?

It's been a long time since I worked with SOAP so my question might be trivial but I just wasn't able to find a satisfying answer so far! Anyways here's what's going on: I got access to a system via ...
0 votes
2 answers
111 views

Service changes for local development environment

I am developing a web app along with a backend API. The backend however must talk to other services, some of which are internal and others are not. In an ideal scenario we would spend time and have a ...
  • 181
3 votes
2 answers
371 views

1 Central Development Server vs. Individual Workstations

Alright so here's the situation... All of my coworkers are used to RDP'ing into a Windows server and doing all of their work there. Whether it be coding, SQL work, etc. Multiple developers connecting ...
  • 147
-1 votes
4 answers
181 views

What is the Software Engineering equivalent of a traditional Engineering Change Order (ECO)? [closed]

What best practices do large software companies recommend when introducing a breaking-change to their software development process? Put another way, how do you best communicate these changes to fellow ...
5 votes
2 answers
612 views

Monolith to microservices - Staging / UAT environments

In our organization we're looking to adopt a service oriented architecture where new requirements (that are natural bounded contexts) are being built as separate services that integrate into the main ...
-2 votes
2 answers
94 views

How to abstract my development environment from external depencies

I am trying to build an API server. For the register operation I send an email to the given email address and wait for user to activate his account by using the code in the email that i sent. I use ...
  • 243
2 votes
1 answer
586 views

Mocking APIs: Keeping mock data up to date?

I'm setting up a development environment for my application. As such, to run it locally, the API dependencies need to be mocked, to keep it as lightweight as possible. The problem however is keeping ...
  • 149
-3 votes
1 answer
70 views

Protecting research source from spyware/data mining

My question is simple: What steps should you take to protect research from the vast amount of spyware or insecure applications on a given device? Background: I do research into developing new models ...
4 votes
1 answer
612 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 ...
  • 201
1 vote
1 answer
114 views

How do you manage development-only files in your source control? [duplicate]

When merging development code into the production code, what is the preferred method for handling items that should not be in the production code branch? For example, I have configuration scripts that ...
  • 139
4 votes
2 answers
1k views

How do I merge branches between Develop - Test and Production without moving across 'test' specific code?

I have a web application that has some specific differences between production and test environments. I.e. test email config, test payment config, the word Test written on the home page (useful to be ...
10 votes
1 answer
2k views

What is the origin of "deployment environments" (dev/test/staging/prod)?

When reading about software deployment/release, I see many people referring to an idea that Wikipedia calls "deployment environments". The deployment environments of Development, Test, Acceptance and ...
2 votes
1 answer
75 views

How can I maintain bash functions without brittle escaped newlines?

I have functions like this: foo() { /some/script \ --opt1=val1 \ --opt2=val2 \ --opt3=val3 } This is brittle if I take out the last option, or add any new option at any line. ...
  • 2,212
4 votes
3 answers
403 views

Same dev env setup across multiple machines - aka fixing "but it worked on my machine"

Community, as our software and development team grows, we ran into multiple problems: Multiple Config files with different paths for each machine "Do I need this tool? And what version, I don't have ...
  • 147
-2 votes
3 answers
724 views

Saving a website of 30 pages in one piece to view offline (but with CSS and JS in place)?

How to save a website of 10 pages in one piece to view it offline (but with CSS and JS in place)? I tried to save a webpage to view offline from the browser via Firefox: File > Save page as > ...
0 votes
1 answer
168 views

How to scale developers environment?

Currently we are developing our microservices by running them all locally using docker. We are now limited by the resources of our local machine and we are trying to find a solution to scale our ...
  • 109
8 votes
1 answer
5k views

How to manage environment variables in local development

I'm in the process of writing a development philosophy document for a small groups of developers (6.5 developers to be specific), but it's ideally a document that will set down the company's best ...
-2 votes
1 answer
152 views

Very unproductive while offline; anything I can do to be productive again? [closed]

I write code while traveling, and I almost always use cafe (but sometimes on a room in AirBnB). However, the problem is that too often the Wi-Fi at cafe is awful, either too unstable to keep ...
  • 105
13 votes
1 answer
37k views

Difference between QUALIF, UAT, PREPROD and PROD environment?

In software deployment, what is the difference between QUALIF, UAT, PREPROD and PROD?
  • 153
4 votes
2 answers
171 views

README "Setup" section best practice?

In the SETUP section of my README, should I just link to instructions for each dependency like this: STEPS install Appium (guide) install XYZ (guide) Or should I reproduce all their instructions ...
5 votes
1 answer
5k views

Remote vs local API for local web app development

I'm developing both a REST API and a frontend web app. What's the best way to go about plugging the API into the web app while I'm developing locally on my machine? I could spin up a local copy of ...
9 votes
2 answers
620 views

Effectively tracking changes to configuration from dev to prod

This question takes a Spring Boot service as an example, but it could be any technology. Assuming the following: Environments (dev/QA/prod) are owned by different teams. This means dev must not have ...
-1 votes
2 answers
159 views

Git-like pager/editor management

A little bit of confusion over here. I am trying to reproduce Git's behavior regarding pagers and editors (as I think Git developers already done good (maybe the best) design choices in this scope). ...
8 votes
2 answers
2k views

How to properly create a local development environment based on a Docker based micro-service architecture?

So currently where I work we try to mimic our production environment as close as possible to our production environment. Our micro-services (APIs, listeners, data stores) are organized in the fashion ...
  • 191
6 votes
2 answers
1k views

Setting up development environment in micro-services architecture

We are moving towards developing a web app in a micro-services architecture. We thought about running the services behind a API gateway that will handle authentication and will proxy the requests to ...
  • 169
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. ...
  • 229
3 votes
3 answers
302 views

Shared development and CI database

I'm just about to set up CI for my web application. I'm using Bitbucket and Pipeline beta as a CI. The web application is strongly coupled to the database, nothing can be tested without data in it. ...
  • 139
0 votes
3 answers
769 views

What can I do to prevent frequent code loss? [closed]

I program as a hobbyist. I mainly code using an online tool (a website) that allows me to write, run, share, and debug code online. The website I use does have version control built in. Quite ...
  • 151
0 votes
1 answer
74 views

Replace a enterprise JAVA EE enviroment with a lightweight solution

Currently I work in a company with several applications developed in Java, these applications share an "internal framework" with common task like find an employee, check user permissions, etc. These ...
1 vote
1 answer
194 views

Is it okay to build artifact specific to environment?

I'm building a web application project that in my view behaves differently in specific environments. I have dev, int, uat, prod environments. DEV is a local environment for developer and 'int' is the ...
14 votes
3 answers
7k views

How can we keep track of which version of our code is in each environment?

My team currently uses a fairly simple branching/deployment process that looks like this: ┌────────┐ ┌────┐ ┌──────┐ Environments: │ DEV │ │ QA │ │ PROD │ └───────...
0 votes
2 answers
614 views

Deployment Environment Responsibility

This might be not technical but rather process driven query. Help me redirect to right forum if this is not the place to ask such question. Typically in a project, we have a deployment environment ...
  • 109
2 votes
2 answers
650 views

Appropriate developer permissions on a dev server?

Should a senior developer be able to have admin permissions (even if it's on a temporary lease basis) to a development server? I have two specific examples in mind. I'm the dev lead for Java ...
2 votes
1 answer
2k views

Setting up an [AWS] environment locally

Currently, our infrastructure sits on AWS (EC2, ElasticBeanstalk, RDS) and consists of a few different services that work together to create our production environment, these consist of a: MySQL ...
  • 123
0 votes
1 answer
282 views

how to introduce a culture of quality into the work environment? [duplicate]

Currently we're not doing any code reviews and we have effectively zero unit tests (we have some but they are never run by anyone else other than myself) and there's no coding standards for style and ...
user avatar
-2 votes
1 answer
175 views

VCS a Vagrant box [closed]

I have two computers (1 Laptop with Ubuntu that I use for development in 99% of my time but I also have a pretty much unused PC with Windows. I also have an unused server machine at home. I would like ...
3 votes
1 answer
1k views

If using a VM as a development environment, should tooling live inside the VM or on the host?

There are a couple of questions already here for whether or not a VM should be used as a development environment. I don't wish to answer that question here but I'm assuming that a VM should be used as ...
  • 131
1 vote
0 answers
129 views

Is this the correct way to use Bower

I'm using Bower whereby I run bower install and it downloads dependency files to /bower_components directory. Then, I create symlinks from my /public/.. directories to the dist files: mypc:/var/www/...
  • 795
3 votes
2 answers
169 views

Is a guardfile part of the private developers environment or the public OSS project?

Let us say I have an open source project on github. Now I wish to include tools required to develop the project so others can easily contribute. It is hard for me to tell when these tools should be ...
0 votes
1 answer
736 views

SQL Dev and Prod Environments

I have been tasked with setting up a SQL Development environment, and i was wondering if anyone has any advice on getting this right? So far, I have restored the prod DB onto another box, and ...
0 votes
1 answer
2k views

Non Existent Keys Returning Null Instead of Exception

I have inherited a project from another developer, and it is riddled through and through with the following type of error: echo $data['example']; Notice: Undefined index: example Obviously, I'm ...
  • 165
0 votes
2 answers
199 views

How can I figure out if another project is mostly maintenance and bugs? [closed]

I started working in a relatively big company that unfortunately has its share of quite a lot of legacy code and I ended up spending an extra ordinary amount of time in maintainance and bug fixes. ...
  • 1,834
15 votes
7 answers
6k views

Why shouldn't you develop on production database? [duplicate]

I need help with organizing my arguments for why it's MADNESS to develop against production data. Backstory: I started working here six months ago and I noticed we're developing directly against ...
user avatar
4 votes
1 answer
741 views

Managing resource paths in source code

I suspect this is something that many of you have dealt with, and I'm certain there's articles on how to do it, but I can't seem to find them. My problem is that my various constant classes in Java (...
  • 257
21 votes
4 answers
2k views

Helping someone who is not and never will be a professional programmer write code that is more legible and usable to use and interpret [closed]

I am Elvis, trying very hard to learn to be Einstein. I work for Mort. What the hell is this crazy idiot talking about!?!? (You only need to read the first few paragraphs) If you don't feel like ...
  • 7,550
3 votes
3 answers
7k views

Environment-aware Code

There are situations where the deployed environment (development, test, or production, for example) might dictate the outcome of certain actions. For example, perhaps a successful "user registration" ...
  • 887
0 votes
2 answers
212 views

Limiting certain functionality to development environment only [closed]

I intuitively think that an application should be exactly the same in DEV, QA, and PROD environments. However, I have been asked to add a feature to an application that will only be available in DEV ...
9 votes
3 answers
4k views

Is it Typical for Large Software Companies to Not Document or Refactor Code? [closed]

I have begun working at a large software company and was assigned to a project that is over a million and a half lines of code. It's part of a program suite that is sold to clients (not an in-house ...
  • 2,658
1 vote
1 answer
282 views

What are some efficient ways to set up my environment when working on a remote site?

Hello fellow Programmers, I am still a relatively new programmer and have recently gotten my first on-campus programming position. I am the sole dev responsible for 8 domains as well as 3 small sized ...
  • 157
0 votes
1 answer
339 views

How many developers on the same virtualized Windows Microsoft machine?

How many c# developers on the same virtualized Microsoft Windows edition is it sensible to have? If everyone uses their own documents and settings folder, should I expect it should be fine? Only ...
  • 577