Questions tagged [deployment]
A series of activities that makes a program available for use (usually in test or production environments)
deployment
31,317
questions
66
votes
15
answers
32k
views
Free install wizard software [closed]
Is there something like InstallShield that I can use for free?
66
votes
6
answers
55k
views
How to deploy a meteor application to my own server?
How to deploy a meteor application to my own server?
flavour 1: the development and deployment server are the same;
flavour 2: the development server is one (maybe my localhost) and the deployment ...
66
votes
2
answers
13k
views
How do you use pip, virtualenv and Fabric to handle deployment?
What are your settings, your tricks, and above all, your workflow?
These tools are great but there are still no best practices attached to their usage, so I don't know what is the most efficient way ...
66
votes
5
answers
50k
views
How to edit code in a Docker container in development?
I have all my websites' code under /srv in my containers.
My Dockerfile downloads the code using git and makes it part of the image for easier deployment to production.
But then how do I edit the ...
64
votes
5
answers
53k
views
Azure App Service deploy Failed to get resource ID for resource type 'Microsoft.Web/Sites'
In the last 6 months I have been releasing with a pipeline in Azure DevOps, but today I receive the following error:
2019-09-25T14:24:38.4296875Z ##[section]Starting: Azure App Service Deploy: AS-...
64
votes
7
answers
22k
views
How do I manage third-party Python libraries with Google App Engine? (virtualenv? pip?)
What's the best strategy for managing third-party Python libraries with Google App Engine?
Say I want to use Flask, a webapp framework. A blog entry says to do this, which doesn't seem right:
$ cd /...
64
votes
6
answers
71k
views
Maven copy local file to remote server using SSH
Can Maven copy local file to a remote server using SSH?
I want to specify location in maven configuration file and to copy that file (or files) to server each time deploy phase is executed.
63
votes
7
answers
19k
views
How to set up a staging environment on Google App Engine
Having properly configured a Development server and a Production server, I would like to set up a Staging environment on Google App Engine useful to test new developed versions live before deploying ...
62
votes
1
answer
25k
views
What creates the directory "app.publish" in visual studio?
I switched over visual studio 2010 express, to visual studio 2013.
Now, whenever I try to test the code, he says /bin/release/app.publish access is denied, giving back a error and forcing me to ...
61
votes
5
answers
34k
views
How to deploy to a single specific server using Capistrano
I have a system in production that has several servers in several roles. I would like to test a new app server by deploying to that specific server, without having to redeploy to every server in ...
60
votes
5
answers
82k
views
How can I deploy (create .ipa) iphone app using 'cordova build ios --release'?
I have created a 'helloworld' iOS app with cordova using there documentation. The app successfully runs when I run cordova emulate ios. What I can't do, is while deploying when I run cordova build --...
60
votes
4
answers
119k
views
How to clean (delete contents) folder with npm [closed]
I am trying to deploy a web project but before build it, I need to clear/delete the dist folder.
I could add a script that would run rm -rf dist/* but that would not work on Windows system.
Is there ...
60
votes
3
answers
9k
views
Raising minimum iOS Deployment Target Version for App Update
Let's say we have an application with a deployment target set to 3.0 and we want to raise the deployment target to 3.2. Normally, the App Store won't let the App be installed on devices with an IOS ...
59
votes
2
answers
121k
views
.NET Core - how does the 'dotnet publish' command work?
I have a solution with some projects targeting .NET Standard 2.0 and a console application project targeting .NET Core 2.1.
I set "myFolder" as the output folder.
Building from Visual Studio,...
58
votes
13
answers
35k
views
Deny access to .svn folders on Apache
We have a rails application in subversion that we deploy with Capistrano but have noticed that we can access the files in '/.svn', which presents a security concern.
I wanted to know what the best ...
58
votes
8
answers
41k
views
Glassfish DeploymentException: Error in linking security policy for
I have been trying to deploy my web application (war) from Glassfish AdminConsole but I keep getting the following error message -
Exception while loading the app : Error in linking security policy ...
58
votes
3
answers
23k
views
Capistrano deployment problems
When I type
cap production deploy
I get
Capfile locked at 3.1.0, but 3.2.0 is loaded
When I uninstall capistrano 3.2.0 I get
Could not find capistrano-3.2.0 in any of the sources
Run `bundle ...
58
votes
18
answers
22k
views
Best practices for deploying Java webapps with minimal downtime?
When deploying a large Java webapp (>100 MB .war) I'm currently use the following deployment process:
The application .war file is expanded locally on the development machine.
The expanded ...
58
votes
6
answers
289k
views
System.IO.FileNotFoundException: Could not load file or assembly 'X' or one of its dependencies when deploying the application
I'm having a strange problem with deploying an application, which references an assembly, written in managed c++.
I've created an assembly X, compiled it and referenced it in an exe file, called ...
57
votes
17
answers
147k
views
Hot deploy on JBoss - how do I make JBoss "see" the change?
I am developing a Java EE application that I deploy over and over again on a local JBoss installation during development. I want to speed up the build by hot deploying my application straight into [...
57
votes
7
answers
24k
views
Make MSDeploy (Visual Studio) not delete App_Data folder but delete everything else
I'm using Visual Studio's Publish button to deploy my website, and want a different App_Data folder on the server. There's a checkbox for Leave extra files on destination (do not delete) which ...
57
votes
6
answers
70k
views
Git push to live server
We have a website that has all its PHP/HTML/JS/CSS/etc files stored in a Git repository.
We currently have 3 types of computers (or use cases) for the repository.
Local developer: pull latest changes,...
57
votes
9
answers
14k
views
Storing passwords in Chef?
What is the best practice for storing password and API keys with Chef? It's really tempting to store database passwords, AWS api keys, and other sensitive credentials as Chef Server Attributes for ...
56
votes
6
answers
27k
views
Clean Windows Azure Website
My ASP.NET MVC project pushed to a Azure website with an extra DLL which is invalid. This is keeping the project from running correctly. If a new website is created it works perfectly. Cleaning the ...
56
votes
3
answers
30k
views
What is the difference between ReplicaSet and ReplicationController?
From what I can tell in the documentation, a ReplicaSet is created when running a Deployment. It seems to support some of the same features of a ReplicationController - scale up/down and auto restart, ...
56
votes
3
answers
24k
views
Node.js setup for easy deployment and updating
We're currently developing a website (TYPO3 under Apache) for a customer that is supported by a node.js/socket.io application that provides realtime updates to the content served from the CMS.
As ...
56
votes
7
answers
13k
views
How To Integrate Clojure Web Applications in Apache
Note
Given this OP was written about two years ago, rather than ask the same question again, I am wondering if step-by-step instructions exist, so that I can integrate a Noir or other Clojure web ...
55
votes
10
answers
71k
views
How do I find the fully qualified name of an assembly?
How do I find out the fully qualified name of my assembly such as:
MyNamespace.MyAssembly, version=1.0.3300.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
I've managed to get my PublicKeyToken ...
55
votes
6
answers
49k
views
Can Maven collect all the dependent JARs for a project to help with application deployment?
I'm just starting to use Maven, (evaluating it, really) and I need to be able to quickly generate a JAR file for my application and a directory with all the dependencies (for example, lib) so that I ...
54
votes
9
answers
37k
views
Capistrano SSH::AuthenticationFailed, not prompting for password
I've been using capistrano successfully for a while now and all of a sudden in every project I've lost the ability to deploy.
Environment:
os X (Mavericks)
ruby 1.9.3p194
rvm (locally, not on server)...
54
votes
2
answers
14k
views
Is there benefit to using Monit instead of a basic Upstart setup?
I'm configuring my server to run node.js as a daemon. I've setup Upstart to handle startup and shutdown of node, which works wonderfully. The next step is to make sure that node.js is restarted if it ...
54
votes
9
answers
29k
views
What's best Drupal deployment strategy? [closed]
I am working on my first Drupal project on XAMPP in my MacBook. It's a prototype and receives positive feedback from my client.
I am going to deploy the project on a Linux VPS two weeks later. Is ...
54
votes
11
answers
28k
views
Do you have to deploy the .pdb file with compiling under release?
Do you have to deploy the .pdb file with compiling under release?
Why does it even compile a .pdb when you do a release build anyway?
53
votes
4
answers
34k
views
Blue Green Deployments vs Rolling Deployments?
What's the difference between a blue/green deployment and a rolling deployment? I always thought that a blue/green deployment was a sudden switch of traffic from the old version to the new version ...
53
votes
6
answers
73k
views
How to restart puma after deploy?
I'm using Rails, Puma, Capistrano3. I have installed the gem capistrano3-puma as well. I started Puma with Puma Jungle https://github.com/puma/puma/tree/master/tools/jungle/upstart
How do I restart ...
53
votes
8
answers
22k
views
Develop Tampermonkey scripts in a real IDE with automatic deployment to OpenUserJs repo
I recently started development on a Tampermonkey script, which is hosted on OpenUserJs. It seems that I'm going to invest a bit more time in the future on this script by keep it up to date and extend ...
53
votes
11
answers
92k
views
maven deploy:deploy-file fails (409 Conflict), yet artifact uploads successfully
NOTE:
I now realize that the jar got placed into my repository, but the pom.xml did not. Now, I have another project where the pom.xml fails to get promoted, but the jar is placed in the ...
53
votes
7
answers
83k
views
AWS ECS restart Service with the same task definition and image with no downtime
I am trying to restart an AWS service (basically stop and start all tasks within the service) without making any changes to the task definition.
The reason for this is because the image has the ...
53
votes
4
answers
10k
views
Why do so many programs have both a setup.exe and a setup.msi?
I have always wondered about this. So many application setups have a zip file that you unzip, and in it are a bunch of files, among other things an exe and an msi. What is the difference? They are ...
53
votes
13
answers
17k
views
Visual Studio 2010 Publish Web feature not including all DLLs
I have an ASP.NET MVC 2 application.
Web project contains a reference to SomeProject
SomeProject contains references to ExternalAssembly1 and ExternalAssembly2.
SomeProject explicitly calls into ...
52
votes
4
answers
29k
views
What is the minimal set of privileges required to deploy artifacts to Nexus 3?
I'm using Nexus Repository Manager 3.1.0-04, and I want to create a user to just have deployment permissions. What are the minimal set of privileges required for that?
Right now I created a role nx-...
52
votes
6
answers
51k
views
Capistrano - How to put files in the shared folder?
I am new to Capistranoand I saw there is shared folder and also option :linked_files. I think shared folder is used to keep files between releases. But my question is, how do files end up being in the ...
52
votes
3
answers
28k
views
Where do I get my actual Azure Website Deployment password?
In Visual studio 2015, when I Publish my Website/Webapp to Azure, I'm able to create a new publishing profile automatically (by entering my personal Azure account credentials), this creates the ....
52
votes
4
answers
40k
views
What is the Python equivalent of Tomcat?
This question likely betrays a misconception, but I'm curious what the "Tomcat" of the Python world is.
All of my web programming experience is in Java (or Groovy) so I think in Java terms. And when ...
52
votes
2
answers
21k
views
Docker : How To Dockerize And Deploy multiple instances of a LAMP Application
I need to deploy many instances of the same LAMP (or LEMP) application :
each instance will be accessible from a subdomain, with front loadbalancer/ proxy
each instance must have its own db data and ...
51
votes
22
answers
405k
views
error: This is probably not a problem with npm. There is likely additional logging output above
In my project, I'm using Angular6 for the frontend. Now what I'm trying to do is deploy my project which is in remote server into the actual server. I'm using npm run build -prod command to build the ...
51
votes
6
answers
23k
views
How Do You Secure database.yml?
Within Ruby on Rails applications database.yml is a plain text file that stores database credentials.
When I deploy my Rails applications I have an after deploy callback in my Capistrano
recipe that ...
50
votes
11
answers
49k
views
Specs satisfying the `Firebase/Functions` dependency were found, but they required a higher minimum deployment target
I was trying to install pod 'Firebase/Functions' but failed with the following error:
`[!] CocoaPods could not find compatible versions for pod "Firebase/Functions":
In Podfile:
Firebase/...
49
votes
6
answers
9k
views
Deploy to iPhone without running
How do I deploy my app down to the iPhone (for testing purposes) from XCode without actually running the app?