Questions tagged [deployment]
A series of activities that makes a program available for use (usually in test or production environments)
deployment
31,317
questions
40
votes
7
answers
20k
views
Deploying RoR app to Heroku with SQLite 3 fails
I'm trying to deploy my first app to Heroku. I'm using SQLite as the database. As far as I know Heroku doesn't use SQLite - it switches to Postgres in the backend.
When I'm deploying I get the ...
39
votes
14
answers
184k
views
Deployment error:Starting of Tomcat failed, the server port 8080 is already in use
When I run my Java project using Netbeans I get the following error:
Deployment error:
Starting of Tomcat failed, the server port 8080 is already in use.
See the server log for details.
at ...
39
votes
4
answers
18k
views
How do I target a specific commit SHA with capistrano deploy
I am wondering how I can target a specific commit SHA in Git for deployment, using Capistrano? It should be something like
cap deploy --version=<sha targeted>
Can't seem to find the answer to ...
39
votes
5
answers
80k
views
Deployment invalid: spec.template.metadata.labels: Invalid value
Deploying my service to production:
envsubst < ./kubernetes/pre-production/aks.yaml | kubectl apply -f -
I'm getting the following error:
The Deployment "moverick-mule-pre" is invalid:
spec....
39
votes
10
answers
22k
views
Deploying Google Analytics With Django
We're about to deploy a new Django website, and we want to use Google Analytics to keep track of traffic on the site. However, we don't want all of the hits on development instances to contribute to ...
39
votes
4
answers
55k
views
How to deploy to Heroku directly from my Gitlab repository
In my team, we use Gitlab as a remote repository, so we are looking for a solution to auto deploy our apps to Heroku. We found Codeship for auto deploying apps to Heroku from Github.
Any tips? Tricks?...
39
votes
5
answers
40k
views
Do not have permission to access app while deploying google service account
After creating google service account with permission as shown below - deployment fails with message . I am failing to understand where this is going wrong.
====
$ gcloud iam service-accounts get-...
39
votes
6
answers
25k
views
Jenkins: Multiple Git repositories for one project
I want to build a project using two Git repositories. One of them contains of the source code, while the other has the build and deployment scripts.
My problem is that I need to have a repository for ...
39
votes
3
answers
37k
views
How can I programmatically stop or start a website in IIS (6.0 and 7.0) using MsBuild?
I have Windows Server 2003 (IIS 6.0) and Windows Server 2008 (IIS 7.0) servers, and I use MSBuild for deploying web applications.
I need to do a safe deploy, and do this:
Stop a website in IIS 6 (or ...
39
votes
6
answers
85k
views
Where and how to deploy a Java Spring Boot application for free? [closed]
I want to know where and how can I deploy a Java web application made with Spring Boot or an app built with servlets or JSP.
Consider me a beginner in this topic. If you have suggestions about what I ...
38
votes
8
answers
48k
views
How can I clear rails cache after deploy to heroku?
I applied cache to my heroku rails app and it works well.
But everytime I deploy to heroku, I also want to clear cache automatically.
so I googled and I found this.
task :after_deploy, :env, :...
38
votes
2
answers
37k
views
Deploying Qt 5 App on Windows
I've written a couple of applications in QML (part of Qt 5). In a question that I've made before (https://softwareengineering.stackexchange.com/questions/213698/deploying-qt-based-app-on-mac-os-x), I ...
38
votes
2
answers
18k
views
Make Web.config transformations work locally
I want to get web.config transformations working locally but apparently the transformations only occur when doing deployments.
Does anybody know of a way to run the msbuild target "...
38
votes
8
answers
21k
views
How do I deploy two ClickOnce versions simultaneously?
I would like the ability to have a test ClickOnce server for my applications where users can run both the production version and the test version in parallel. Is this possible?
I first tried using ...
37
votes
6
answers
13k
views
How a meteor application knows if it's running on development, test or production environment?
I need to use different accounts provider's configurations when the meteor application runs as Development, Test or Production environment.
37
votes
8
answers
35k
views
How to obfuscate Flutter apps?
Flutter's wiki mentions obfuscation is an opt-in in release mode.
And yet, the flutter build command has no relevant option - see:
flutter help -v build apk
Am I missing something here?
Did they ...
37
votes
1
answer
69k
views
Clear the .NET-downloaded application cache without Mage?
I have a .NET application that I distribute using ClickOnce and I make available online only. How do I clear the download cache from a users' machine that doesn't have Visual Studio installed?
37
votes
3
answers
13k
views
Visual Studio 2010 Web Publish missing a file
I'm finding that when publishing a website from Visual Studio its not uploading one of my files. Its a Razor file with a '.cshtml' extension (its doing the others!) and its part of the project.
Any ...
37
votes
4
answers
39k
views
are there iterators and loops in puppet?
When I define(?) a resource e.g. to ensure dir structure, are there any loops available?
Like that:
for X in [app1,app2] do:
file { '/opt/app/' + X:
ensure => directory,
owner =...
37
votes
4
answers
19k
views
Atlassian Bamboo with Django & Python - Possible?
At my company, we currently use Atlassian Bamboo for our continuous integration tool. We currently use Java for all of our projects, so it works great.
However, we are considering using a Django + ...
37
votes
4
answers
49k
views
Missing production secret_key_base in rails
I have recently deployed an app and got an internal server error because of missing production secret_key_base. After hours of testing, I managed to solve this problem with two methods:
Method 1:
I ...
37
votes
3
answers
19k
views
Best Fabric scripts for Django [closed]
What are the best stock Fabric scripts for deploying a typical Django project? Fabric looks very good, but seems to require you to start from scratch and write your own deployment script. Coming from ...
37
votes
5
answers
32k
views
How do I deploy a Python desktop application?
I have started on a personal python application that runs on the desktop. I am using wxPython as a GUI toolkit. Should there be a demand for this type of application, I would possibly like to ...
37
votes
5
answers
5k
views
Why do concatenated RequireJS AMD modules need a loader?
We love RequireJS and AMD during development, where we can edit a module, hit reload in our browser, and immediately see the result. But when it comes time to concatenate our modules into a single ...
36
votes
4
answers
23k
views
How can I find Phusion Passenger version?
How can I find my Phusion Passenger version? is there a command i can run from the terminal?
36
votes
2
answers
59k
views
How to delete a deployment / image in kubernetes
I'm running kubernetes in azure.
I want to delete a specific deployment, with AZ AKS or kubectl.
The only info I've found is how to delete pods, but this is not what I'm looking for, since pods will ...
36
votes
4
answers
76k
views
How to deploy a JAX-RS application?
The JAX-RS 1.1 specification says on page 6:
If no Application subclass is present
the added servlet MUST be named:
javax.ws.rs.core.Application
What is the added servlet? Could it be an ...
36
votes
1
answer
19k
views
chef install and update programs from source
I have a program that I build from source. For this I'm using the script resource. What is a good way to implement the logic for installation and update? Right now I just have installation implemented ...
36
votes
7
answers
50k
views
Django: Not Found static/admin/css
I just deployed my first Django app on Heroku but I notice that it doesn't have any CSS like when I runserver on the local machine. I know there's something wrong with static files but I don't ...
36
votes
13
answers
46k
views
Running .net based application without .NET Framework
Is there a way to run .net based applications without .net framework installed. Is there a way to do this. Is there a software that can achive this. Commercial software is also possible.
Added:
Has ...
36
votes
7
answers
12k
views
Hot deploy on Heroku with no downtime
A bad side of pushing to Heroku is that I must push the code (and the server restarts automatically) before running my db migrations.
This can obviously cause some 500 errors on users navigating the ...
35
votes
4
answers
12k
views
putpkt: write failed, broken pipe
I'm using AdHoc deploy to deploy my app on an iPad, and I get this error. I've checked out a few questions in SO that say the same, but the solution has always been restart XCode, Restart iPad, ...
35
votes
5
answers
16k
views
Getting site under construction message after azure webapp deployment
I had a network failure while publishing (using visual studio webdeploy ) my webapp to azure. Later i tried again, Then i got the below error message.
Error 5 Web deployment task failed. (...
35
votes
4
answers
40k
views
Deploy ASP.NET MVC on IIS 5.1 (Windows XP)
OK, deploying ASP.NET MVC seems to be painful. I want to deploy my ASP.NET MVC application on Windows XP (IIS 5.1), but can't seem to find how to do it. When I type the application name into the web ...
35
votes
2
answers
23k
views
How to reference different version of dll with MSBuild
I have a web application project which utilises a set of 3rd party dll's. The issue is that the dev/staging environment is 32bit, but production is 64bit. As such, we have to re-reference and build ...
35
votes
3
answers
16k
views
How to ignore directories when running Django collectstatic?
I am running a small test project with Django 1.3, Ubuntu 11.10, gunicorn and Nginx, everything in a virtualenv, and now I'm running collectstatic to get my static files into the directory that Nginx ...
35
votes
3
answers
86k
views
Powershell in NonInteractive mode
I use Octopus for our deployments. I have a problem with one of the Powershell scripts to control the deployment:
# stops running processes
$processes = @("Notepad",
"Firefox")
foreach ...
35
votes
4
answers
35k
views
How to get revision number from subversion using maven?
I'd like to put revision number on main page of webapp, how can i do that using maven?
P.S. Its two part question, how to get revision number and how to write it into selected file in the project.
35
votes
1
answer
29k
views
phpStorm, do not index a folder / tree [closed]
I can't find the ability of phpStorm 5 to avoid indexing a specific folder. I don't want to exclude it from the Project-View, just don't want phpStorm to index the containing folders, classes, ...
35
votes
2
answers
52k
views
What is the right way of production deployment of nestjs application
I've developed simple nestjs rest services. Now I am planning to deploy my app. Please help me with efficient way of production deployment of nestjs app.
34
votes
14
answers
42k
views
.NET application cannot start and receive XamlParseException
I wrote an app that can install and work on my development PC (a Window 7).
Development Environment: Window 7, VS2010 WPF C# with both .NET 4 and .NET 3.5 installed
On other client computer (XP SP3, ...
34
votes
3
answers
55k
views
Laravel - What steps should one take to make a Laravel app ready for production mode
The scenario is I have developed a Laravel app in my localhost. Everything works fine. Now I need to make it go online. I am just trying to figure out what steps (configuration , security etc.) ...
34
votes
7
answers
41k
views
How can I ensure that appsettings.dev.json gets copied to the output folder?
I have three configuration files, one for each environment:
appsettings.json -> production
appsettings.dev.json -> development
appsettings.stg.json -> staging
If I set ASPNETCORE_ENVIRONMENT to dev,...
34
votes
5
answers
33k
views
Passing parameters to Capistrano
I'm looking into the possibility of using Capistrano as a generic deploy solution. By "generic", I mean not-rails. I'm not happy with the quality of the documentation I'm finding, though, granted, I'm ...
34
votes
4
answers
28k
views
Should I redistribute msvcrt.dll with my application?
Should I redistribute msvcrt.dll with my application and use the private dll if some of the application's libs dynamically depend on msvcrt.dll? I.e. are any incompatibility issues possible with the ...
34
votes
2
answers
55k
views
How to run docker-compose commands with ansible?
In ansible playbook I need to run docker-compose commands. How can I do it? I need to run command: docker-compose -f docker-compose.yml -f docker-compose.prod.yml up
34
votes
5
answers
45k
views
Moving app to production mode in Symfony 2
Can someone help me to move my Symfony 2 application into production mode?
Currently, the application is running properly in /app_dev.php.
I'm googling, but I'm not finding a definite guide for ...
34
votes
9
answers
27k
views
Differentiating web.config between dev, staging and production environments
Anyone have any good tips on handling differences in web.config settings between environments? I've considered creating a 'config' folder in our source control system but outside of the web hierarchy, ...
34
votes
2
answers
50k
views
When and why would I need a jboss-deployment-structure.xml for a Spring application?
I am trying to understand how to use JBoss EAP6 with Spring applications. I have a sample OpenShift application and it contains a jboss-deployment-structure.xml file.
I found some documentation about ...
34
votes
7
answers
59k
views
React app has to clear browser cache after new deployment
We are deploying our React application on the apache server using the Jenkins pipeline.
When we deploy new codes, most of the new features work fine but not for all changes reflect the latest in the ...