Questions tagged [deployment]

A series of activities that makes a program available for use (usually in test or production environments)

Deployment consists in a series of activities needed to get a program available for use outside a development environment (for example on web sites, PCs, smartphones and/or tablets).

At a high level, deployment activities need to:

  • compile the program in a suitable packaging format;
  • distribute the program to the final environment (e.g. via the Internet, an app store or CDs);
  • install dependencies (usually libraries, runtimes and application servers);
  • configure the target environment (e.g. where the database is or runtime parameters of the application server).

A deployment can be done in several ways according to the program type, for example:

  • to deploy a web application written in Java we can add JARs to web containers;
  • to deploy a desktop application on Windows we can create a setup program and burn it to CDs;
  • to deploy an application to a cloud environment (like Heroku or Windows Azure) we can use ad-hoc programs or widely known programs like git that trigger a series of operations on the server side;
  • to deploy an application to an app store we may need to send the application to the store owner for approval. If the application is approved then the store owner will publish the new version, making it available to the users;
  • a deployment may require to distribute specially configured virtual machines with the right version of software and dependencies.

There are many challenges in deployment revolving around two main themes:

  • to ensure that programs exhibit the same behavior in production as they do in testing and development. To achieve this, usually there are several test environments (beyond development) in which the software is deployed and tested thoroughly before being released in the production environment. is the strategy of deploying to a subset of users to detect production-only errors with minimal user impact.
  • to be able to rollback to a previous stable version in case the current version behaves erratically. The deployment environment may help by providing some facilities to retain previous versions and install them when needed. is a deployment strategy which enables fast, robust release and rollback.

Frequently Asked Questions

People often ask about these topics:

25961 questions
7
votes
0 answers

How to deployed micro-frontend architecture when you have multiple app

I have multiples apps on the micro frontend architecture. I have used Lerna for managing multi-package repositories in a single repo. Here is the structure of my app. packages - main-app - feature-based-apps - feature-01-app -…
Asif vora
  • 3,163
  • 3
  • 15
  • 31
7
votes
5 answers

flutter build web - Only showing blank page

Strangely, I am unable to deploy flutter apps via Flutter web since some days. I have not problem running and debugging the Flutter app in a chrome browser via Android studio but once I try flutter build web the generated index.html file unter…
bd1909
  • 155
  • 1
  • 6
7
votes
6 answers

Deploying application updates to multiple sites

I have an application consisting of an ASP.NET web application, a couple of Windows services, and a SQL Server 2005 database. This application is replicated at several sites, so that each site has a server containing all parts (web app, services, &…
Misko
  • 2,044
  • 12
  • 15
7
votes
2 answers

Deploy and distribute OpenCV applications with Xcode4 on Mac OSX

I'm working on an OpenCV application and my question is how can I deploy and distribute the application on non-development-machines, machines where OpenCV isn't installed? I'm using Xcode4 on Mac OS X Lion with OpenCV 2.2. thanks
sn3ek
  • 1,929
  • 3
  • 22
  • 32
7
votes
3 answers

How do you deploy django applications for windows?

I'm working on a web application using isapi_wsgi and django-pyodbc. I'd like to have a way to install all dependencies and push the files out to the webserver. Unfortunately, some of these are easier said than done. In particular, handling…
Jason Baker
  • 192,085
  • 135
  • 376
  • 510
7
votes
1 answer

WPF ClickOnce and partial trust problem

How can I get my application deployment working? I created a new simple WPF project with Visual Studio 2010 and did the following modifications in the properties of the project: -> Signing: Created test certificate and signed both the assemblies an…
yonexbat
  • 2,902
  • 2
  • 32
  • 43
7
votes
1 answer

How do I create timestamp url or where can I find free timestamp url for MSIX app packages

When I self sign my app packages, visual studio only allows me to create a security certificate that is valid for one year. How can I create a timestamp url or where can I find a free timestamp url to ensure the MSIX package can be installed, even…
Tracy Zhou
  • 714
  • 1
  • 7
  • 11
7
votes
2 answers

Maven - deploy:deploy-file over series of files within ${project.build.directory} (target/)

Quick briefing on my situation - I'm working on a code base that has JAX-WS annotated interfaces/classes that we generate code-first wsdls from. We are using CXF's cxf-java2ws-plugin to generate wsdls at build time within maven for inclusion within…
whaley
  • 16,075
  • 10
  • 57
  • 68
7
votes
7 answers

NextJs: The Serverless Function exceeds the maximum size limit of 50mb

I'm new working with NextJs and when trying to deploy my project to Vercel I'm getting the following error: Error! The Serverless Function "api/auth" is 50.55mb which exceeds the maximum size limit of 50mb. I have spent a lot of my time trying to…
DrunkOldDog
  • 718
  • 5
  • 12
7
votes
4 answers

Can we run terraform import in Azure DevOps release pipeline

I have already created Azure virtual networks and resource groups manually. I am going to create a VM using Terraform and deploy it via Azure DevOps.My Terraform state file resides in an Azure Storage account. Currently, it is blank. I need to…
7
votes
4 answers

What's your ideal branch architecture within git for web applications?

We're a small team of developers and building a web application. We're currently having a live, testing and several development environments. What branch architecture would you suggest, so ideally each developer can work on his feature(s), these…
7
votes
9 answers

Who's responsible for deployment?

I work as an in-house developer for a manufacturing company. We make software for the manufacturing process, not really control software, more like process flow. We are using a Scrum process to develop the software, albeit tailored to fit with our…
Kepboy
  • 3,733
  • 2
  • 30
  • 43
7
votes
2 answers

Horizontal scaling of node.js server instances on a single machine

Running a web server on node.js is a simple thing to do (as seen by its excellent examples and documentation) but I wonder how you can fully use the CPU resources of a dedicated server? Since node.js is single-threaded the only way to take advantage…
maerics
  • 151,642
  • 46
  • 269
  • 291
7
votes
5 answers

How to safely update a live website

We have a fairly simple Django-based website for doing CRUD operations. I've been doing testing and development locally and then checking out releases and database schema changes onto the live server once testing is done. We've recently run into a…
gerdemb
  • 11,275
  • 17
  • 65
  • 73
7
votes
2 answers

Pm2 error while deploying Strapi App on DigitalOcean

I've been following the official docs for deploying a Strapi app onto Digital ocean, but I'm having trouble setting up pm2. It starts the app for a second, and then shows status: errored there's no script.js to run the app, but when I cd to…
1 2 3
99
100