Skip to main content

Questions tagged [deployment]

A series of activities that makes a program available for use (usually in test or production environments)

Filter by
Sorted by
Tagged with
187 votes
8 answers
97k views

Deploying a minimal flask app in docker - server connection issues

I have an app whose only dependency is flask, which runs fine outside docker and binds to the default port 5000. Here is the full source: from flask import Flask app = Flask(__name__) app.debug = ...
Dreen's user avatar
  • 7,106
207 votes
27 answers
334k views

Causes of getting a java.lang.VerifyError

I'm investigating the following java.lang.VerifyError: java.lang.VerifyError: (class: be/post/ehr/wfm/application/serviceorganization/report/DisplayReportServlet, method: getMonthData signature: (...
Jeroen Wyseur's user avatar
592 votes
26 answers
646k views

How can I update the parent's state in React?

My structure looks as follows: Component 1 - |- Component 2 - - |- Component 4 - - - |- Component 5 Component 3 Component 3 should display some data depending on state of Component 5. Since ...
Wojciech Kulma's user avatar
419 votes
19 answers
128k views

Deploy a project using Git push

Is it possible to deploy a website using git push? I have a hunch it has something to do with using git hooks to perform a git reset --hard on the server side, but how would I go about accomplishing ...
Kyle Cronin's user avatar
  • 78.6k
312 votes
14 answers
229k views

Create a directly-executable cross-platform GUI app using Python

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows and Linux. The problem ...
Teifion's user avatar
  • 110k
181 votes
15 answers
321k views

Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature)

I am getting the below exception when I run my mvn install. I have even deleted the local repository and ran again getting same exception. [ERROR] Failed to execute goal org.apache.maven.plugins:...
Karthick's user avatar
  • 1,963
151 votes
12 answers
62k views

How do you maintain development code and production code? [closed]

What are the best practices and rules-of-thumb to follow while maintaining code? Is it good practice to have only the production ready code in the development branch, or should untested latest code ...
350 votes
23 answers
129k views

How to manage local vs production settings in Django?

What is the recommended way of handling settings for local development and the production server? Some of them (like constants, etc) can be changed/accessed in both, but some of them (like paths to ...
akv's user avatar
  • 3,703
161 votes
12 answers
274k views

How can I deploy an iPhone application from Xcode to a real iPhone device?

How can I deploy an iPhone application from Xcode to real iPhone device without having a US$99 Apple certificate?
DFG's user avatar
  • 2,217
81 votes
7 answers
110k views

Qt static linking and deployment

I am trying to deploy(release to public) a simple qt application I made recently, but got stuck at static linking qt libs. I followed the guide on qt docs to re-build qt and my app statically. But ...
user avatar
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 ...
Jaco Pretorius's user avatar
130 votes
7 answers
72k views

How do you include additional files using VS2010 web deployment packages?

I am testing out using the new web packaging functionality in visual studio 2010 and came across a situation where I use a pre-build event to copy required .dll's into my bin folder that my app relies ...
Jason's user avatar
  • 2,721
319 votes
16 answers
120k views

Enterprise app deployment doesn't work on iOS 7.1

We distribute apps via an Enterprise account, using an itms-services:// URL. This has always worked fine, but after installing the iOS 7.1 beta on our iPad it refuses to install. Instead we just get ...
Mark Parnell's user avatar
  • 9,205
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 ...
crauscher's user avatar
  • 6,598
157 votes
25 answers
215k views

H14 error in heroku - "no web processes running"

error H14 happen while deploying to heroku this is my procfile: web: gunicorn -w 4 -b 0.0.0.0:$PORT -k gevent main:app log on heroku: 2017-01-23T10:42:58.904480+00:00 heroku[router]: at=error code=...
Ron Miles's user avatar
  • 1,593
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 ...
Alex Spataru's user avatar
  • 1,207
88 votes
6 answers
116k views

Java Jar file: use resource errors: URI is not hierarchical

I have deployed my app to jar file. When I need to copy data from one file of resource to outside of jar file, I do this code: URL resourceUrl = getClass().getResource("/resource/data.sav"); File src ...
hqt's user avatar
  • 30.1k
618 votes
9 answers
385k views

.war vs .ear file

What is the difference between a .war and .ear file?
ria's user avatar
  • 7,944
141 votes
28 answers
109k views

Android Studio - local path doesn't exist

After updating Android Studio to 0.2.4 I can't get my project to deploy. There is a complete mismatch of the apk filename. Waiting for device. Target device: 0146B0020E010020 Uploading file local ...
WarrenFaith's user avatar
  • 57.6k
856 votes
34 answers
225k views

Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

I'm attempting to deploy my code to heroku with the following command line: git push heroku master but get the following error: Permission denied (publickey). fatal: The remote end hung up ...
95 votes
10 answers
80k views

The unauthenticated git protocol on port 9418 is no longer supported

I have been using github actions for quite sometime but today my deployments started failing. Below is the error from github action logs Command: git Arguments: ls-remote --tags --heads git://github....
monofal's user avatar
  • 1,968
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 /...
a paid nerd's user avatar
  • 31.2k
113 votes
3 answers
191k views

Angular app has to clear cache after new deployment

We have an Angular 6 application. It’s served on Nginx. And SSL is on. When we deploy new codes, most of new features work fine but not for some changes. For example, if the front-end developers ...
zhangjinzhou's user avatar
  • 2,651
168 votes
37 answers
220k views

Heroku deployment error H10 (App crashed)

I have a RoR app working on my local computer, but when I send it to heroku, it crashes. The error log gives an error H10 & says: 2012-11-21T15:26:47+00:00 app[web.1]: from /app/vendor/...
bskool's user avatar
  • 2,078
71 votes
13 answers
52k views

Embed a JRE in a Windows executable?

Suppose I want to distribute a Java application. Suppose I want to distribute it as a single executable. I could easily build a .jar with both the application and all its external dependencies in a ...
perp's user avatar
  • 3,933
167 votes
7 answers
156k views

Install a .NET windows service without InstallUtil.exe

I have a standard .NET windows service written in C#. Can it install itself without using InstallUtil? Should I use the service installer class? How should I use it? I want to be able to call the ...
Yuval Peled's user avatar
  • 5,028
83 votes
28 answers
131k views

/usr/bin/codesign failed with exit code 1

I am attempting to deploy my first development iPhone app, and am running into some problems. I have successfully went though the online Provisioning Assistant, but now I am stuck. No matter what I ...
individualtermite's user avatar
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 ...
user660450's user avatar
16 votes
3 answers
55k views

How to deploy application with sql server database on clients

I have designed an accounts software for my clients. I used SQL Server 2008 database with Stored Procedures. It is developed in Visual Studio 2010, .NET Framework 3.0. I have more than 500 clients ...
Art and Artistic artandartisti's user avatar
14 votes
4 answers
7k views

What is the benefit and real purpose of program installation?

Of all the programs I wrote so far, If I want it to work on another work station, I just have to copy and paste the executable and necessary files needed to make it run (e.g: .o files, binary files..)....
user3437460's user avatar
  • 17.4k
42 votes
4 answers
12k views

When should I deploy my assemblies into the GAC?

I would like to know practically what kind of Assemblies should I deploy in GAC. Case 1: If in my Solution multiple project uses log4net.dll then should it be deployed in GAC? Case 2: If I have ...
Amitabh's user avatar
  • 60.4k
197 votes
4 answers
93k views

How to customize a requirements.txt for multiple environments?

I have two branches, Development and Production. Each has dependencies, some of which are different. Development points to dependencies that are themselves in development. Likewise for Production. I ...
Charles R's user avatar
  • 18.8k
104 votes
10 answers
26k views

allowDefinition='MachineToApplication' error when publishing from VS2010 (but only after a previous build)

I can run my Asp.Net MVC 2 application without an issue on my local computer. Just Run / Debug. But if I have already built it, I can't publish it! I have to clean the solution and publish it again. ...
Dan's user avatar
  • 13.2k
84 votes
2 answers
185k views

Best way to deploy Visual Studio application that can run without installing

I wrote a fairly simple application with C#/.NET and can't figure out a good way to publish it. It's a sort of a "tool" that users would only run once, or run every few months. Because of ...
Wilson's user avatar
  • 8,720
76 votes
4 answers
59k views

Dll in both the bin and the gac, which one gets used?

We have a web application that's deployed to many websites with only frontend changes, the shared backend portion has it's DLL in the GAC so we only have to update that one dll and all the sites get ...
John Boker's user avatar
  • 83.4k
141 votes
28 answers
103k views

Android Studio not deploying changes to app

Sometimes this scenario occurs when developing. I would make a change in my source code, hit save all and then run but the change wouldn't be apparently not reflected in the app -(I'm using a device ...
Simply Brian's user avatar
  • 1,551
160 votes
15 answers
68k views

What is your preferred php deployment strategy? [closed]

I'm beginning a new project in PHP and I'd love to get some feedback from other developers on their preferred strategy for PHP deployment. I'd love to automate things a bit so that once changes are ...
GloryFish's user avatar
  • 13.3k
121 votes
6 answers
138k views

Git: auto pull from repository?

Is there any way to set up git such that it listens for updates from a remote repo and will pull whenever something changes? The use case is I want to deploy a web app using git (so I get version ...
Li Haoyi's user avatar
  • 15.6k
47 votes
2 answers
45k views

What flags to set for GFORTRAN compiler to catch faulty code?

I think I won't find that in any textbook, because answering this takes experience. I am currently in the stage of testing/validating my code / hunting bugs to get it into production state and any ...
tarrasch's user avatar
  • 2,630
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 ...
user avatar
27 votes
1 answer
59k views

Bootstrap grid with fixed wrapper - Prevent columns from stacking up

As the title says I'm trying to use Bootstrap 3 grid system with a fixed wrapper. But when I resize the Browser the columns stack up even if the wrapper stays the same size? BTW: I'm using version 3 ...
John's user avatar
  • 1,327
1 vote
1 answer
2k views

Deploying ASP.NET MVC Project

I'm trying to deploy the default MVC project (from Visual Studio 2013) onto a remote server. They require the program to be running in Medium Trust mode, which I am having issues with. I've added <...
Mr_Bean's user avatar
  • 139
150 votes
34 answers
162k views

Android device chooser - My device seems offline

I have developed an application and i was planning to deploy it to my HTC Desire. I have installed USB driver. I turned on USB debugging on the phone and choosed charge only when phone plugged-in. ...
Ahmet Gulden's user avatar
  • 2,073
76 votes
7 answers
55k views

MSBuild target package not found

I want to package my VS2010 web application project ready for deployment with msdeploy. On development machine I can do this using: MSBuild.exe "C:\path\to\WebApp.csproj" /target:package But on my ...
Andrew Davey's user avatar
  • 5,421
69 votes
14 answers
44k views

Determine assembly version during a post-build event

Let's say I wanted to create a static text file which ships with each release. I want the file to be updated with the version number of the release (as specified in AssemblyInfo.cs), but I don't want ...
Winston Smith's user avatar
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 ...
INDRAJITH EKANAYAKE's user avatar
43 votes
6 answers
210k views

How to automatically update an application without ClickOnce?

For the project I am working on, I am not allowed to use ClickOnce. My boss wants the program to look "real" (with an installer, etc). I have installed Visual Studio 2012 Professional, and have been ...
Toadums's user avatar
  • 2,792
3 votes
2 answers
2k views

zend framework deployment in server

I have a server, where I have uploaded my work in zend framework(in a subdomain). the folder name is 'visit'. So, When I go to: http://mysitename.com/visit, it shows a directory structure: Parent ...
tarique's user avatar
  • 2,221
137 votes
13 answers
40k views

How to deploy an ASP.NET Application with zero downtime

To deploy a new version of our website we do the following: Zip up the new code, and upload it to the server. On the live server, delete all the live code from the IIS website directory. Extract the ...
Karl Glennon's user avatar
  • 3,199
47 votes
3 answers
45k views

How to deploy SQL Server Compact Edition 4.0?

How do i deploy Microsoft SQL Server Compact 4.0? SQL Server Compact Edition (currently at version 4.0) is: a free, embedded database that software developers can use for building Windows desktop ...
Ian Boyd's user avatar
  • 253k

1
2 3 4 5
56