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

Export OSGI-Application from Eclipse

I've developed an osgi application (no rcp) using eclipse. It consists of several Plugin-Projects-Bundles and dependencies from eclipse plugins folder (commons.* ...) The application works fine when launched using eclipse. What is the best way to…
Wienczny
  • 3,348
  • 4
  • 27
  • 35
7
votes
4 answers

Hot Deploy a Java EAR to Minimize or Eliminate Downtime of an Application on a Server?

I have heard that this is what JavaRebel does but is there any other good way to deploy a new version of an EAR while allowing users to remain active on the previous version? We use JBoss for the application server...
Ichorus
  • 4,447
  • 6
  • 34
  • 46
7
votes
3 answers

Correct way to distribute VC++ runtime files

I have an MFC application which I am trying to package for deployment. It seems to depend on the files 'msvcr90.dll', 'msvcp90.dll' and 'mfc90.dll'. What is the correct way to distribute these files? I can't use merge modules as my installer doesn't…
Hoppy
  • 668
  • 2
  • 9
  • 23
7
votes
2 answers

MSVCP100.dll not found error even when it is installed

i get the following error when i try to run an exe on a x64 machine that was build for x86 CPU using the MC++ compiler (vs2010) on a x86 machine: i already have visual studio 2012 (along with Visual C++ 2012 Update 4 redistributable- both x86 and…
7
votes
2 answers

How to make Octopus deploy choose package version in multiple environment?

We are building packages for multiple deployment environments using TeamCity server and OctoPack. The problem is that tentacle agent chooses the latest by number version of the package, so it's the same (latest) package that is deployed on all…
Vagif Abilov
  • 9,279
  • 5
  • 52
  • 91
7
votes
1 answer

how to deploy the CLR functions in SQL server 2008

I created a SQL Server Project in VS2008 called 'RegularExpression'.In that Project i created a 'Regex.cs' class and i wrote one function regarding Regular Expression. Then i Build the solution. Now My problem is to deploy this solution in SQL…
VInayK
  • 1,421
  • 6
  • 29
  • 46
7
votes
3 answers

Capistrano 3 / SSHKit write to a file in custom task

I want mark the current deployed directory with my release number. I tried this approach: Get locally the app version, store it into a variable, and on the remote host, store it in a file. namespace :deploy do desc "Set a release number as the…
astropanic
  • 10,140
  • 17
  • 64
  • 128
7
votes
5 answers

Is there any good grunt ftp plugin?

I've tried grunt-ftpush and grunt-ftp-deploy but both doesn't work properly. I experience annoyning bugs with them. FTP task seems very important and it's weird that I can't google working one. UPDATED Here is settings for grunt-ftp ftp: { …
Vitalii Korsakov
  • 38,491
  • 18
  • 68
  • 85
7
votes
3 answers

How can I tell what modules were originally provided with the specific Perl installation on a machine?

How can I tell what modules were originally provided with the specific Perl installation on a machine? (This is not a duplicate of: How can I tell if a Perl module is core or part of the standard install? ( "How can I tell if a Perl module is core…
therobyouknow
  • 6,124
  • 12
  • 49
  • 72
7
votes
1 answer

Distributed Systems NSQ topology pattern on Docker containers

Is it possible to replicate "NSQ realtime distributed messaging platform" described in the last example of "Topology Patterns" with Docker? Does anybody have a dockerfile or image example?
Luca G. Soave
  • 11,195
  • 10
  • 55
  • 105
7
votes
3 answers

ASP.NET deployment: How to avoid losing session state when updating code?

How do you work-around the fact that sessions are dropped every time you deploy certain code files to an ASP.NET website? Sometimes we need to deploy a crucial fix in the middle of the day but don't want to boot off all our users for it.
Matias Nino
  • 4,165
  • 13
  • 44
  • 62
7
votes
7 answers

Free install system with GUI

Is there any free install system with a GUI interface? I found one - Advanced Installer, but free edition is too limited, I even can't show EULA. Other free tools like NSIS, WiX... are scripting only. I got no extra time to dig into new scripting…
Vasyl Boroviak
  • 4,897
  • 3
  • 43
  • 65
7
votes
1 answer

NuGet doesn't copy config file

I've tried many different things now, none of which seem to work out as expected. I would like to share an example config(or image or whatever) file with my library that someone would be able to use and derive from. I tried to default to just To do…
Kjellski
  • 925
  • 10
  • 24
7
votes
2 answers

sbt assembly task runs slowly after adding some dependencies

I'm kind of new to deployment in scala and I configured the sbt-assembly plugin, all worked well. Some days ago I added hadoop, spark and some other dependencies, then the assembly task become extremely slow (8 to 10 minutes) and before that, it was…
darkjh
  • 2,692
  • 7
  • 32
  • 43
7
votes
2 answers

how to deploy a webapp and create its resources

before deploy "myapp.war" on glassfish 4 i have to create jdbc connection pool (/WEB-INF/glassfish-resources.xml -> jdbc-connection-pool does not work by itself... fine from asadmin) create jdbc resource for pool (/WEB-INF/glassfish-resources.xml…
Michele Mariotti
  • 6,983
  • 4
  • 37
  • 69
1 2 3
99
100