Skip to main content

Questions tagged [deployment]

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

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 ...
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
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
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
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
316 votes
4 answers
568k views

How do I install package.json dependencies in the current directory using npm

I have a web app: fooapp. I have a package.json in the root. I want to install all the dependencies in a specific node_modules directory. How do I do this? What I want Lets say I have two widget ...
Daniel Beardsley's user avatar
312 votes
14 answers
230k 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
296 votes
8 answers
286k views

Run command on the Ansible host

Is it possible to run commands on the Ansible controller node? My scenario is that I want to take a checkout from a git server that is hosted internally (and isn't accessible outside the company ...
Ross's user avatar
  • 46.8k
236 votes
15 answers
293k views

IIS7 deployment - duplicate 'system.web.extensions/scripting/scriptResourceHandler' section

On attempting to deploy a .net 3.5 website on the default app pool in IIS7 having the framework section set to 4.0, I get the following error. There is a duplicate 'system.web.extensions/...
user20358's user avatar
  • 14.6k
218 votes
5 answers
226k views

How to deploy correctly when using Composer's develop / production switch?

Composer has the option to load several dependencies only while being in development, so the tools will not be installed in production (on the live server). This is (in theory) very handy for scripts ...
Sliq's user avatar
  • 16.3k
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
205 votes
17 answers
107k views

How do I run a Node.js application as its own process?

What is the best way to deploy Node.js? I have a Dreamhost VPS (that's what they call a VM), and I have been able to install Node.js and set up a proxy. This works great as long as I keep the SSH ...
respectTheCode's user avatar
198 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
190 votes
4 answers
130k views

How do I copy directories recursively with gulp?

I am trying to stage a project from a working directory to a server (same machine). Using the following code: gulp.src([ 'index.php', 'css/**', 'js/**', 'src/**', ]) .pipe(gulp.dest('/...
M1ke's user avatar
  • 6,386

15 30 50 per page
1
2 3 4 5
2089