Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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 ...

0
votes
0answers
40 views

Should application-specific server configuration be stored with the application's source code?

Context: We've shifted to Docker for local development and remote testing environments of different applications. Previously, each application was standalone so docker images were built and supplied ...
7
votes
1answer
285 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
42 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
254 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
237 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
135 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 ...
2
votes
1answer
949 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 ...
-1
votes
1answer
124 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 ...
1
vote
1answer
4k 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
138 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 ...
3
votes
1answer
1k 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
289 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
136 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). ...
4
votes
2answers
1k 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 ...
17
votes
7answers
3k 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
167 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
619 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
66 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
94 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
3answers
3k 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
397 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
258 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
263 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
143 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
664 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
126 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
127 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
369 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
153 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
188 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. ...
13
votes
7answers
4k 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
546 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 (...
21
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
4k 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
202 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
2k 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
267 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
316 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 ...
5
votes
1answer
991 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 ...
4
votes
2answers
247 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 ...
19
votes
5answers
597 views

Effective way of keeping past projects with their working development environment?

I find that whenever I want to go run a past project, it will take a long time before I can find it and before I have everything set-up again for it to be able to run. For example, I have python ...
2
votes
2answers
147 views

Purpose oriented user accounts on a single desktop?

Starting point: I currently do development for Dynamics Ax, Android and an occasional dabble with Wordpress and Python. Soon, I'll start a project involving setting up WP on Google Apps Engine. ...
40
votes
9answers
4k views

Looking for meaningful, strong argument in favor of antivirus software on development machines [closed]

When forming opinions, it is a good practice to follow scholastic tradition - think as hard as you can against the opinion you hold and try to find counter-arguments. However, no matter how hard I ...
6
votes
3answers
2k views

Who should support and maintain development infrastructure?

I am interested to know what other peoples' experiences are with managing development infrastructure are. I am talking about things like the build server, the central git repo etc etc. Any ...
5
votes
4answers
1k views

Does following Agile methodology contradict programmers should have quiet working conditions (one of the Joel test)?

My organization is moving to Agile process of software development. As part of it, the developers and quality engineers will sit together with the cubicle walls scaled down. I am just wondering how ...
7
votes
1answer
2k views

Vagrant's Users: What are its drawbacks? [closed]

I've been studying http://www.vagrantup.com/ for several days and I'd like a feedback by people using it in a professional context or for personal projects. I think I get what positive things can ...
6
votes
1answer
2k views

Setting up a development environment in the cloud? [closed]

I'm interested in transitioning my development environment onto the cloud. I currently use VirtualBox with Vagrant to manage separate virtual machines for each individual project. What would be the ...