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
8
votes
1 answer

ClickOnce Deployment for different configurations

I'm currently looking at ClickOnce deployment for our WPF application and was wondering, is it possible to set the ProductName and PublishUrl separately for each build configuration in the project file? At the moment I'm having to set these…
TabbyCool
  • 2,829
  • 1
  • 24
  • 36
8
votes
4 answers

How to deploy: database, source and binary changes in 1 patch?

I'm part of a development team that works on many CMS based projects, using systems like Joomla and Drupal. In our development process, all of our code changes are managed inside of Git. At the end of a sprint, we create a DIFF that we can apply via…
Taras Mankovski
  • 1,639
  • 3
  • 16
  • 30
8
votes
2 answers

how to deploy a lisp image with swank, and run as a daemon

As seid in the title, I want to deploy a Lisp image which is runnable with Swank. This can be done by using the image dump function provided by lisp implementations. But how can it run as a daemon? Detachtty does a good job, but when I deploy,…
whitelilis
  • 113
  • 4
8
votes
2 answers

Glassfish Server Error when deploy .war: Error occurred during deployment: Exception while preparing the app : Invalid resource

I am using the following: NetBeans IDE 7.3 (Build 201306052037) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 NetBeans integrated GlassFish Server Open Source Edition 3.1.2.2 (build 5) I created an RESTful Webservice with NetBeans,…
elpronto
  • 131
  • 1
  • 1
  • 5
8
votes
2 answers

Weblogic application context root is war file name instead of name specified in weblogic.xml

I have an application which I have deployed using Maven to Weblogic 10.3.6. I have specified context root in weblogic.xml as /myapps The problem I am having is it is taking the war file name as context root instead of…
Jacob
  • 14,463
  • 65
  • 207
  • 320
8
votes
2 answers

Method Assetic\AssetWriter::getCombinations() does not exist exception on symfony2 deploy using capifony

My deployment fail when calling: cd /var/www/prod/releases/20130513164742 && php app/console assetic:dump --env=prod --no-debug My setup worked fine yestertay but today I can't deploy it using the cap deploy command I checked by cloning the repo in…
0x1gene
  • 3,349
  • 4
  • 29
  • 48
8
votes
4 answers

How to fix 'error in the metadata manager dimension id of missing ' error in SSAS?

I have this error that keeps popping up from time to time, the error is along the lines of the following: Error -1055653635 : Errors in the metadata manager. The dimension with ID of <>, Name of <> referenced by the <> cube, does not exist. Error…
Rowan
  • 463
  • 3
  • 8
  • 20
8
votes
1 answer

UML Deployment Diagram for IaaS and PaaS Cloud Systems

I would like to model the following situation using a UML deployment diagram. A small command and control machine instance is spawned on an Infrastructure as a Service cloud platform such as Amazon EC2. This instance is in turn responsible for…
DuncanACoulter
  • 2,095
  • 2
  • 25
  • 38
8
votes
2 answers

Letting users edit config file after deployment

I have a program which I'm going to deploy using the package for deployment built into VS. Now I have an app.config file which I want the user to be able to modify (even after running the program), but I have no idea where exactly the installer…
Haedrian
  • 4,240
  • 2
  • 32
  • 53
8
votes
3 answers

iOS: Deploy and run app on device through command-line without jailbreaking

I'm looking for a way to automate dev-test cycles for iOS and most popular ways seemed to be jailbreak then ssh. This includes two steps: Deploy my app using command line from Mac/PC to the device. Run the app on the device from Mac/PC command…
kakyo
  • 10,460
  • 14
  • 76
  • 140
8
votes
1 answer

Puppet issue with apt::source and stages

I have a local Puppet installation on which I've done: # puppet module install puppetlabs/apt Preparing to install into /etc/puppet/modules ... Downloading from http://forge.puppetlabs.com ... Installing -- do not…
Unknown
  • 5,722
  • 5
  • 43
  • 64
8
votes
3 answers

Manually remove Python package on Heroku

I was running heroku push master, and got this: ----- Python app detected ----- No runtime.txt provided; assuming python-2.7.3. ----- Using Python runtime (python-2.7.3) ----- Installing dependencies using Pip (1.2.1) …
blaze
  • 2,588
  • 3
  • 32
  • 47
8
votes
5 answers

Top 10 gotchas using shared hosting with ASP.NET

I have recently started using a shared-host for my clients so see project progress or to play with a new technology for myself. I seems like every time I deploy a new project that runs fine locally, I run into something new on the shared-host. Do…
rick schott
  • 21,012
  • 5
  • 52
  • 81
8
votes
3 answers

Syncing local and remote directories using rsync+ssh+public key as a user different to the ssh key owner

The goal is to sync local and remote folders over ssh. My current user is user1, and I have a password-less access setup over ssh to a server server1. I want to sync local folder with a folder on server1 by means of rsync utility. Normally I would…
schatten
  • 1,497
  • 1
  • 12
  • 19