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
4 answers

How To Deploy Word 2010 Macros To Others?

I have a macro that I developed in Word 2010. How do I send this to others to use?
Ann Sanderson
  • 407
  • 3
  • 8
  • 17
7
votes
2 answers

Where to store differences between dev and production branch in git?

I have a project I manage out of a git repository. We use the progit branching strategy (as described in the accepted answer, here: Git branch strategy for small dev team) where one branch is the production branch and another branch is the…
Igor Serebryany
  • 3,307
  • 3
  • 29
  • 41
7
votes
5 answers

How do I deploy an ASP.NET MVC3 Application?

I have created a web application using ASP.NET MVC3 in Visual studio (no SQL Server). Now I want to deploy it and am looking for suggestions for the easiest possible way.As of Now what i did is(rule 1-10)…
RollerCosta
  • 5,020
  • 9
  • 53
  • 71
7
votes
3 answers

How do I change the default Virtual Directory name during a web service install?

I have a C# web service, created using VS2008. I have a deployment project that creates the MSI I use for deployment. Is there a setting somewhere to change the default virtual directory that the user is prompted with during the installation? I'd…
Don Becker
7
votes
2 answers

"The connection string specifies a local Sql Server Express instance", Except it Doesn't

I'm trying to deploy an asp.net application to a server using a SQL Server instance for the ApplicationServices membership database. The problem is, I'm getting an error that says The connection string specifies a local Sql Server Express…
user15486
7
votes
1 answer

Play! framework, single Jetty instance, deploy multiple projects, share libs

I'm trying to deploy two or more independent Play! (1.2.4) based projects to the same Jetty instance. According to this post it apparently is possible to extract the common lib's from each PrjName.war/WEB-INF/lib directory and place them into a…
Tino
  • 325
  • 1
  • 8
7
votes
4 answers

.NET-based setup project fails at installation

I have created a setup project using Visual Studio 2008. When installing on a different machine, I get the following error: The installer was interrupted before MyApplication could be installed. You need to restart the installer to try …
ala
  • 7,070
  • 13
  • 47
  • 54
7
votes
3 answers

can we rename our Rails folders and not have any side effects?

when starting Ruby on Rails programming, I will use rails first rails second and try out things in these "first" and "second" projects but as they get more mature i want to check them into SVN and develop further, so can i rename them into…
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
7
votes
2 answers

Maven deploy not to upload test jar

We have project with lot of precanned test files, so obviously the test-jar file is very big. Since no one uses test jar(at least in out project), we don't gain any benefit by uploading it. When we run the maven deploy command, I want it to only…
Ravi
  • 1,082
  • 4
  • 15
  • 24
7
votes
3 answers

Jenkins: FTP / SSH deployment, including deletion and moving of files

I was wondering how to get my web-projects deployed using ftp and/or ssh. We currently have a self-made deployment system which is able to handle this, but I want to switch to Jenkins. I know there are publishing plugins and they work well when it…
4eyes
  • 661
  • 2
  • 6
  • 5
7
votes
4 answers

Creating unsigned ClickOnce deployments with MageUI

With .Net 3.5 SP1 it is no longer required to sign ClickOnce manifest files. We've incorporated MageUI into our deployment process and would like to deploy some unsigned applications. Mage will let me create an unsigned application manifest. …
codeConcussion
  • 12,739
  • 8
  • 49
  • 62
7
votes
2 answers

How exactly does the Heroku deployment process work?

When I deploy a new version of my service to Heroku, what happens exactly? Suppose I have N web dynos online right now, M of them currently servicing requests. Do all of them shut down before the new version starts coming online? What happens to…
ripper234
  • 222,824
  • 274
  • 634
  • 905
7
votes
1 answer

Capistrano for Rails 3.1

I am using Rails 3.1 and Capistrano, I get No such file or directory errors for /public/images, /public/stylesheets, and public/javascripts errors. Searching the Internet, I found a number of blog posts suggesting set :normalize_asset_timestamps,…
Steve Harman
  • 741
  • 1
  • 8
  • 11
7
votes
4 answers

nginx + FastCGI for django application---run two webservers or one?

I'm about to deploy a Django application on a nginx web server, and want to make sure I'm building the system correctly. It seems to be common wisdom that if you are deploying Django on an apache server, then you should still put an nginx server in…
Adam
  • 227
  • 1
  • 2
  • 6
7
votes
0 answers

How to fix this Firebase Function Deploy Error?

I have an exception when deploying a Firebase function. Has anyone run into this weird error? I am confused by the error message. If so, what is the solution? I am using the below command firebase deploy --only functions:chapterpptx i deploying…
user633597
  • 129
  • 7