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:

22585 questions
7
votes
2 answers

Passing REINSTALLMODE to an MSI file

I am using VisualStudio2005 and a vdproj to create a simple MSI file. I need to pass in the REINSTALLMODE property when I launch it. I know this can be done via command line, like so: msiexec.exe /i foo.msi REINSTALLMODE=amus However, if a user…
Ken
  • 1,720
  • 3
  • 18
  • 31
7
votes
2 answers

GitLab CI - Project Build In Neverending Pending-State

I'm in some trouble with GitLab CI. I followed offical guide on: https://github.com/gitlabhq/gitlab-ci/blob/master/doc/installation.md Everything was ok, no errors nowhere. I followed Runner-Setup, too. Anything alright. But... When I add a runner…
x4k3p
  • 1,261
  • 2
  • 21
  • 39
7
votes
1 answer

Spray-servlet on Tomcat 7 vs Spray-can jar on JVM

Has anyone benchmarked the performances of his/her application in following two combinations? built with spray-servlet and deployed on Tomcat 7 on JVM 7 built with spray-can and deployed as a jar on JVM 7 I would guess 2) performs better than 1)…
7
votes
3 answers

Hot deployment of .net assemblies

We have an application running as a Windows service on a production server. The application is partitioned into several assemblies mostly on deployment boundaries. I would like to streamline the deployment of hot-fixes to application assemblies.…
Kim Major
  • 3,571
  • 1
  • 20
  • 19
7
votes
2 answers

How to deploy a Polymer dart application

I have a dart application using Polymer.dart, i replace the dart.js file by the boot.js (in my index.html), an now i want to deploy this application in order to have a working javascript one. But, when i launch the build.dart, i have : Total time…
7
votes
1 answer

How to change Installation Folder Url after publish the Application

How can I change the Installation Folder Url and Update location of a C# click once application after publish the application using MSBuild.exe
Sumeshk
  • 1,922
  • 19
  • 32
7
votes
2 answers

Can't deploy rails4 project with capistrano. rbenv: version `2.0.0' is not installed

I am getting error while deploying my rails4 app to VPS. The error I'm getting is rbenv: version `2.0.0' is not installed But using "ruby -v" I get ruby 2.0.0p0 (2013-02-24 revision 39474) [i686-linux] And in my gemfile I have source…
Andrey Yasinishyn
  • 1,781
  • 2
  • 22
  • 36
7
votes
2 answers

Play framework 2.1 application deployment

I've created my first Play application. Which is the most suitable deployment method for production? Should i copy the whole project to the production server and run play start? or should i make a war out of my application and deploy in tomcat /…
popcoder
  • 2,552
  • 6
  • 30
  • 45
7
votes
2 answers

Distributing ruby application as standalone in linux and windows

I have developed ruby application (desktop application) on version 1.9.1 with few gems(qtbindings). Now i would like to distribute my application to users as stand alone.I would like to distribute my application as stand alone in linux too. What is…
sundar_ima
  • 2,842
  • 3
  • 29
  • 46
7
votes
1 answer

Which version of Crystal Reports do I reference (32-bit or 64-bit) when developing?

I'm currently using VS 2012 on a 64-bit PC, using Crystal Reports for VS 2012. After installing Crystal Reports for VS 2012, I noticed there are 2 main folders: Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64 Common\SAP BusinessObjects…
Null Reference
  • 10,480
  • 37
  • 100
  • 168
7
votes
1 answer

Optimal workflow for updating playframework application in production

I am trying to come up with an optimal workflow for updating my web application running on play framework. I use the start script to launch it but what is the best practice for updating the code so that it is as seamless as possible for the users?…
twowo
  • 621
  • 8
  • 15
7
votes
2 answers

OpsWorks overriding database.yml / ignoring custom JSON

When I deploy a Rails app with OpsWorks, a new database.yml gets created in the shared directory. It ignores the existing database.yml (which rightfully shouldn't be in the repo), and I've also tried specifying custom JSON but nothing works. Maybe…
manafire
  • 5,776
  • 3
  • 37
  • 50
7
votes
3 answers

Executable Files Like Launch4j for Other Platforms

I want to produce executables for other platforms for a Java utility. I found Launch4J which produces a nice package for Windows, but I'd also like to find something similar that produces the same kind of a thing for Mac users and Linux users. This…
Steve Kallestad
  • 3,134
  • 2
  • 20
  • 30
7
votes
1 answer

How to deploy a clojure web application to Amazon EC2 (AWS Elastic Beanstalk + Leiningen + Compojure + Ring + Tomcat)

AS title, My IDE is intellij idea 12.1.4 , What toolkit or plugin do I need to be able to deploy clojure web application to Amazon EC2? Are there any link or reference or step by step solution ? thank you
7
votes
4 answers

Enabling Download prerequisites from the same location as my application

I currently have a winforms app that is deployed via clickonce deployment. When I try to deploy it from 1 machine it throws the following error: To enable 'Download prerequisites from the same location as my application' in the Prerequisites…
1 2 3
99
100