deployment

Scala Play 2.2 application crashes after deploying in Heroku: target/start No such file or directory

偶尔善良 提交于 2019-12-19 05:46:45
问题 I've been fighting with this for hours and I can't figure out why after deploying my Scala Play 2.2 application in Heroku I get this stacktrace: 2013-09-30T01:05:09.413177+00:00 heroku[web.1]: Starting process with command `target/start -Dhttp.port=18174 $PLAY_OPTS` 2013-09-30T01:05:10.931893+00:00 app[web.1]: bash: target/start: No such file or directory 2013-09-30T01:05:12.382399+00:00 heroku[web.1]: Process exited with status 127 2013-09-30T01:05:12.414050+00:00 heroku[web.1]: State

Execute command after deploy AWS Beanstalk

左心房为你撑大大i 提交于 2019-12-19 05:46:16
问题 I have problem with execute command after deploy, i have some node.js project and script, this script use some bin from node_modules, if i write my command for script in .ebextensions/.config he execute before npm install and return error ( "node_modules/.bin/some": No such file or directory ). How i can execute command after deploy. Thanks. 回答1: I found the following solution I add to beanstalk config next command: commands: create_post_dir: command: "mkdir /opt/elasticbeanstalk/hooks

Whats best way to package a Java Application with lots of dependencies?

亡梦爱人 提交于 2019-12-19 05:24:21
问题 I'm writing a java app using eclipse which references a few external jars and requires some config files to be user accessable. What is the best way to package it up for deployment? My understanding is that you cant put Jars inside another jar file, is this correct? Can I keep my config files out of the jars and still reference them in the code? Or should the path to the config file be a command line argument? Are there any third party plugins for eclipse to help make this easier? I'm using

How to set MSDeploy settings in .csproj file

倾然丶 夕夏残阳落幕 提交于 2019-12-19 05:13:16
问题 Is there a way to set MSDeploy parameters in .csproj file itself of ASP.NET MVC project? Particularly a "skip" parameter, which should skip a "Temp" folder. -skip:objectName=dirPath,absolutePath="\\temp" .. or how can I pass this parameter into MSBuild.exe arguments list? 回答1: Define <MsDeploySkipRules> in the project file. For example: <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <OnBeforePackageUsingManifest>AddSkipRules</OnBeforePackageUsingManifest

Problem deploying Python program (packaged with py2exe)

a 夏天 提交于 2019-12-19 04:57:09
问题 I have a problem: I used py2exe for my program, and it worked on my computer. I packaged it with Inno Setup (still worked on my computer), but when I sent it to a different computer, I got the following error when trying to run the application: "CreateProcess failed; code 14001." The app won't run. (Note: I am using wxPython and the multiprocessing module in my program.) I googled for it a bit and found that the the user should install some MS redistributable something, but I don't want to

How do you keep changes separate and isolated across multiple deployment environments in git?

落爺英雄遲暮 提交于 2019-12-19 04:25:55
问题 At my workplace, we are attempting to design a workflow based around Git to handle our deployments and changes to the code. We have a Java EE web application and 3 deployment environments (Test, QA and Production). We also have an instance of Jenkins CI to handle builds and deployments. When changes are made to the application's code (in branches) we need to be able to pick and choose which ones get promoted to QA and Production. Some might get to QA and then never go to production. We also

Running another program from c# setup project

空扰寡人 提交于 2019-12-19 04:18:17
问题 I have made a setup and deployment project in C#, Now i have another windows update exe which i want to run and install successfully before it installs my project. I've packaged the exe with my project. How may i run that exe before? 回答1: You want to add a Custom Action to the Setup Project that runs the executable. This WalkThrough will take you through getting htat working. http://msdn.microsoft.com/en-us/library/d9k65z2d(VS.80).aspx 回答2: Any other package that should be installed before

Embedding JAR file into HTML?

有些话、适合烂在心里 提交于 2019-12-19 04:11:50
问题 I have a Runnable jar file, is there anyway to embed it into html so people dont have to download my game to play? 回答1: An Applet is what you want...put the following inside your html.. <APPLET ARCHIVE="yourfile.jar" CODE="yourApplet.class" WIDTH=400 HEIGHT=200> </APPLET> Of course for this, your jar file must contain yourApplet.class 回答2: What you are looking for is Java Web Start. It can (install &) launch Java rich client apps. (e.g. Swing, SWT, AWT) from a link on a web page. Note that

Bundle install failing when deploying a Rails 3 app to Dreamhost with Capistrano

心已入冬 提交于 2019-12-19 04:08:16
问题 I am trying to deploy a locally working Rails 3 app to Dreamhost with Capistrano. When I run 'cap deploy -v' in my local app root I get so far before it chokes on 'bundle install'. The following is the end of the error message: ** transaction: start ** [abunchofletters.co.uk :: out] my_username@abunchofletters.co.uk's password: Password: ** [abunchofletters.co.uk :: out] ** [abunchofletters.co.uk :: out] HEAD is now at 62f9cdb Initial deploy to Dreamhost ** [out :: abunchofletters.co.uk] sh:

Dynamic loading of modules in Java

人走茶凉 提交于 2019-12-19 03:39:14
问题 In Java, I can dynamically add stuff to classpath and load classes ("dynamically" meaning without restarting my application). Is there a known framework/library which deals with dynamic loading/unloading of modules without restart? The usual setup, especially for web-apps, is load balancer, several instances of application, and gradual deployment and restart of new version. I'm looking for something else - application with several services/plugins, possibly single-instance desktop application