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
-4
votes
0answers
26 views

Developing with an application using oauth (bypass in dev environment)

I guess the answer to this is more of a personal opinion than anything but I am using Azure active directory to validate users in my web application. This obviously can be a pain as I have to log in ...
3
votes
1answer
86 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
2answers
87 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 ...
1
vote
1answer
153 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 ...
-3
votes
1answer
62 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 ...
3
votes
1answer
332 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 ...
1
vote
1answer
108 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 ...
4
votes
2answers
408 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 ...
7
votes
1answer
1k 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
1answer
54 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. ...
4
votes
3answers
269 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 ...
-2
votes
3answers
435 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
1answer
156 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 ...
6
votes
1answer
4k 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
1answer
149 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 ...
5
votes
1answer
19k views

Difference between QUALIF, UAT, PREPROD and PROD environment?

In software deployment, what is the difference between QUALIF, UAT, PREPROD and PROD?
4
votes
2answers
146 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
1answer
3k 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
2answers
347 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
2answers
146 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
2answers
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 ...
6
votes
2answers
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 ...
19
votes
7answers
6k 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. ...
3
votes
3answers
243 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. ...
0
votes
3answers
655 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 ...
0
votes
1answer
69 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
1answer
108 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 ...
15
votes
3answers
5k 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
2answers
544 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 ...
2
votes
2answers
389 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
1answer
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 ...
0
votes
1answer
275 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 ...
-2
votes
1answer
161 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
1answer
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 ...
1
vote
0answers
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/...
3
votes
2answers
150 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
1answer
621 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
1answer
595 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 ...
0
votes
2answers
192 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. ...
15
votes
7answers
5k 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 ...
4
votes
1answer
685 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 (...
20
votes
4answers
1k 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 ...
3
votes
3answers
6k 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" ...
0
votes
2answers
205 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 ...
8
votes
3answers
3k 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 ...
1
vote
1answer
273 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 ...
0
votes
1answer
334 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 ...
7
votes
1answer
2k views

How can I integrate local web development environments with a central SSO solution?

We have a single-page web application, and we have a new SSO site (also our own) using OAuth2, and are looking to hook them up. On our production/staging/CI deployments, it's easy to hook everything ...
5
votes
2answers
295 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 ...
21
votes
3answers
1k views

In reality, a developer also administers DBMS and system? [closed]

I really don't know where else to ask. So here it goes. I'm working at a very tiny company that makes ERP software and websites. 1 developer with + 10 years experience. 2 developers with + 3years ...