deployment

Avoid deleting folder on Web Publish

Deadly 提交于 2020-01-12 04:07:09
问题 I'm deploying my application to an Azure Website. I've configured the Publishing Profile succesfuly and setup tfspreview.com to publish automatically using continuous integration on each code commit. I have a folder on the path "/media". This folder has pictures and documents uploaded through the CMS (umbraco). This folder gets deleted on each web deploy. From this answer, I learned how to add a SkipDelete rule on either the .csproj or on the wpp.targets file, but everytime I publish the site

app.config Transformations

回眸只為那壹抹淺笑 提交于 2020-01-11 15:44:28
问题 I'm a huge fan of the addition of web.config transformations in Visual Studio 2010. See also Scott Hanselman's recent talk at MIX2011. What sucks is that this functionality (appears at least) to only be available to web projects. In our solution we have several Windows Services that connect to a different database dependant on the environment they are deployed under. Has anyone come up with a nice, tidy way of achieving similar 'app.config transformation' functionality? Note: We are using TFS

When using Spring and Maven, what is the best way to deploy the code to the server?

℡╲_俬逩灬. 提交于 2020-01-11 09:11:42
问题 I have a project that uses Spring. Every time I deploy, I run the maven goal "package", which runs all the tests and creates the war file. Then I manually use an ftp program to copy the war file to the server. I then run a bash script to shut down the server, replace the war and start up the server again. Sometimes when they are changes done to the database schema, I have to run a sql migration script manually. Is there a better workflow I can use? As the project's war file gets to be 60MB, I

is there a reason why Magento shouldn't support uninstall/downgrade for modules

吃可爱长大的小学妹 提交于 2020-01-10 20:16:22
问题 Automated instant rollback is an important feature of enterprise-grade deployment mechanisms. Currently, it's not possible to achieve this using Magento's built-in installation tools. Given that Magento's core_resource mechanism allows for the sequential execution of setup scripts for installation or upgrade of modules (via execution of SQL and also PHP), it seems logical IMHO that it should support the same process in reverse. Now, some obvious reasons not to support it: It would be

Supress/Disable/Solve Visual Studio Build Warning

£可爱£侵袭症+ 提交于 2020-01-10 19:11:45
问题 I am using clickonce for a windows forms application. I have to deploy some resource assemblies. These assemblies are in a folder in my project (not as a reference). They are marked BuildAction = content and CopyToOutputDir = Copy If Newer. With this configuration I'm getting the warning MSB3178: Assembly '' is incorrectly specified as a file. When I set the BuildAction to none, the warnings disappear, but the assemblies that must deploy not appear in ClickOnce Application Files. I would like

Supress/Disable/Solve Visual Studio Build Warning

点点圈 提交于 2020-01-10 19:08:59
问题 I am using clickonce for a windows forms application. I have to deploy some resource assemblies. These assemblies are in a folder in my project (not as a reference). They are marked BuildAction = content and CopyToOutputDir = Copy If Newer. With this configuration I'm getting the warning MSB3178: Assembly '' is incorrectly specified as a file. When I set the BuildAction to none, the warnings disappear, but the assemblies that must deploy not appear in ClickOnce Application Files. I would like

How to deploy multiple rails app on a single IP (Apache + Passenger)?

那年仲夏 提交于 2020-01-10 18:24:12
问题 I want to deploy multiple rails app on a single server. If I had a domain name, I would have easily done that using subdomains as server name in virtual hosts. My problem is that I do not have a domain name. Can I do something like 70.42.89.11/app_1 as one server name and 70.42.89.11/app_2 as another. Or are there any other solutions? 回答1: Yes. The Passenger guide calls this "Deploying to a Sub URI" http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rack_to_sub_uri

“Manifest XML signature is not valid”

假如想象 提交于 2020-01-10 18:13:24
问题 OS: Windows 7 64 bit using Visual Studio Pro 2012 with .NET 4.5 installed. I used the Publish option within Visual Studios and ensured that I had clicked the Sign the clickOnce manifest and Sign the Assembly. It will still not run on another computer and says I do not have a valid XML signature. I have pasted the error message below. I have also read: How to move a ClickOnce deployment package, Do I have to sign my ClickOnce manifest?. VS2012 .NET 4.0 Clickonce VSTO CryptographicException:

Setup App.Config As Custom Action in Setup Project

守給你的承諾、 提交于 2020-01-10 17:45:09
问题 I have a custom application with a simple app.config specifying SQL Server name and Database, I want to prompt the user on application install for application configuration items and then update the app.config file. I admit I'm totally new to setup projects and am looking for some guidance. Thank You Mark Koops 回答1: I had problems with the code Gulzar linked to on a 64 bit machine. I found the link below to be a simple solution to getting values from the config ui into the app.config. http:/

Symfony 1.4 best practice production & development configuration

六月ゝ 毕业季﹏ 提交于 2020-01-10 11:45:11
问题 I'm just getting started with Symfony. I'm using Git/github as a way of managing my project. I've set up two ignores for log and cache which is fine. I now need to set up a production site. At the moment on this small project I've development and production on the same server but with different file locations and databases. e.g. www.example.com/mysymfonyproject_dev/ < development area & www.example.com/mysymfonyproject/ < Live / Production site On server its /homes/sites/example.com/www