deployment

Run batch scripts on a remote server (windows) from jenkins

安稳与你 提交于 2019-12-18 10:37:11
问题 I've got a continuous integration server (Jenkins ) which builds my code (checks for compilation errors) and runs tests and then deploys the files to a remote server (not a war file, but the actual file structure) I do this with a Jenkins plugin which allows me to transfer files via samba, it does this nightly. Now, what I need to do is run an ant command on the remote server. And after that I need to start the application server on the remote server, the application server is started by

Django Deployment: Cutting Apache's Overhead

…衆ロ難τιáo~ 提交于 2019-12-18 10:30:41
问题 I have a small VPS server that has a Nginx front end that serves up static media files and passes Django requests back to an Apache 2.2 prefork MPM server running mod_wsgi. With one (very) small site loaded and working, it's currently using 143MB of 256MB of RAM. Using the top command I can see that Apache is using 52.9% of available RAM, with memcache in second using 2.1%. Considering that I'm planning on putting quite a few Django projects on this one server, I'm wondering if there is

Sidekiq deploy to multiple environments

。_饼干妹妹 提交于 2019-12-18 10:16:11
问题 (See below for my detailed config, which is the result of Henley Chiu's answer). I've been trying to wrap my brain around Sidekiq deploys, and I am not really getting it. I have an app with a staging environment, and a production environment, on the same server. Everything I see about sidekiq deploys basically say "just add sidekiq/capistrano to your deploy file", so I did that. And then the instructions are "here's a yml file with options" but nothing seems to be explained. Do I need

Configuration With Same Name Already Exists

人盡茶涼 提交于 2019-12-18 10:14:27
问题 I have a solution with 10+ projects (VS2010 SP1). I have the following configurations defined in the solution: Debug Debug-QA Release-UAT Release-Production This allows me to easily setup specific settings for each deployment scenario. However, for some reason I can't get things setup as I'd like. Please see this screenshot: Notice the highlighted projects/configurations. I am unable to create a "Debug-QA" configuration for these projects (by selecting <New> in the cell for that particular

JBoss AS 7 not accepting remote connections

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-18 10:11:54
问题 I am using JBoss AS 7 and trying to connect to my application using the IP (from a computer in the intranet). It is not working. If I test from the computer which has the server I can see the system running if I go through localhost (http://localhost:8080/MySystem....) but not If I try with the IP (http://:8080/MySystem....). Any help? 回答1: The answer is to edit standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1 <interfaces> <interface name="management">

XBAP full trust deployment

前提是你 提交于 2019-12-18 09:25:45
问题 I did the following steps to deploy my wpf application that need full trust permission: 1-Creating a certificate using makecert.exe 2-Creating signed application and deployment manifests. 3-Building a website in IIS to host files (include MyApplication.exe.manifest and MyAppicatio.xbap) 4-Adding certificate - used to sign manifests - to IE certificate store (Trustes Root Certification Authorities and Trusted Publishers) , IE Menu bar->Tools Internet Options->Content->Certificates But when i

Suppress “Ambiguous class resolution” warning on composer dump-autoload -o

混江龙づ霸主 提交于 2019-12-18 09:25:40
问题 I'm in the follwoing situation: I want to deploy a php-app via "git push" on openshift. Dependencies are resolved via composer. The composer.lock file (locking the dependencies to the specific wanted version) is part of the repository. Dependencies are loaded using the deploy hook script using: ${PHP_DIR}/bin/php $OPENSHIFT_DATA_DIR/composer.phar update --prefer-dist --no-dev -n ${PHP_DIR}/bin/php $OPENSHIFT_DATA_DIR/composer.phar dump-autoload --optimize -n One of the dependencies

Deployment of Simulink Models

烈酒焚心 提交于 2019-12-18 08:59:03
问题 I have been trying to find out how to deploy a Simulink model. There are possibilities and problems as well. If I use Simulink Coder how can I find the generated code on my computer? Where is it saved as a file or package of files? Can we deploy Simulink as .NET Assembly? If we can, where can I find a detailed documentation about it. Is there any other way to use my Simulink model standalone? Thank you for any effort. 回答1: By default all the code gets placed into a folder, in the current

Using 'git checkout -f' to deploy files from a bare git repo in Gitlab

泪湿孤枕 提交于 2019-12-18 07:12:57
问题 I am in the process of implementing Gitlab at my workplace and transitioning everyone over to it for better code reviews, issue management directly linked to commits, and integration with user stories on Pivotal tracker. My current setup for a test app is as such: Git bare repo with all the code for my PHP based web-app found in: /var/opt/gitlab/git-data/repositories/git/test-app.git Deploy directory is: /var/www/test-app In the Git repo directory, I did the following: export GIT_WORK_TREE=

Unable to deploy Spring Boot App on Glassfish 4.1

穿精又带淫゛_ 提交于 2019-12-18 07:08:10
问题 I have created a Spring Boot application (webservice soap). Everything is ok and application works well trough the integrated tomcat in Spring Boot. When i try to package in a war and deploy to Glassfish 4.1 i a strange error. My maven configuration: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">