Questions tagged [web-deployment]

The activities that make a website available for use on a remote system.

After a website is successfully developed, it can be deployed into a web server so that it can be used. The activities that make a website available for use if called web-deployement

4762 questions
50
votes
6 answers

Capistrano - How to put files in the shared folder?

I am new to Capistranoand I saw there is shared folder and also option :linked_files. I think shared folder is used to keep files between releases. But my question is, how do files end up being in the shared folder? Also, if I want to symlink…
Fajarmf
  • 2,143
  • 4
  • 19
  • 23
43
votes
2 answers

Advanced tasks using Web.Config transformation

Does anyone know if there is a way to "transform" specific sections of values instead of replacing the whole value or an attribute? For example, I've got several appSettings entries that specify the URLs for different webservices. These entries are…
38
votes
3 answers

How can I programmatically stop or start a website in IIS (6.0 and 7.0) using MsBuild?

I have Windows Server 2003 (IIS 6.0) and Windows Server 2008 (IIS 7.0) servers, and I use MSBuild for deploying web applications. I need to do a safe deploy, and do this: Stop a website in IIS 6 (or an Application in IIS 7), not stop AppPool. Check…
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
38
votes
2 answers

Make Web.config transformations work locally

I want to get web.config transformations working locally but apparently the transformations only occur when doing deployments. Does anybody know of a way to run the msbuild target "TransformWebConfig" without it going through the "rebuild" process…
Diego C.
  • 2,271
  • 2
  • 20
  • 21
37
votes
3 answers

Visual Studio 2010 Web Publish missing a file

I'm finding that when publishing a website from Visual Studio its not uploading one of my files. Its a Razor file with a '.cshtml' extension (its doing the others!) and its part of the project. Any ideas why it would exclude it?
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
37
votes
5 answers

Why do concatenated RequireJS AMD modules need a loader?

We love RequireJS and AMD during development, where we can edit a module, hit reload in our browser, and immediately see the result. But when it comes time to concatenate our modules into a single file for production deployment, there apparently has…
Brandon Rhodes
  • 83,755
  • 16
  • 106
  • 147
35
votes
5 answers

Getting site under construction message after azure webapp deployment

I had a network failure while publishing (using visual studio webdeploy ) my webapp to azure. Later i tried again, Then i got the below error message. Error 5 Web deployment task failed. (Web Deploy cannot modify the file…
33
votes
6 answers

Where and how to deploy a Java Spring Boot application for free?

I want to know where and how can I deploy a Java web application made with Spring Boot or an app built with servlets or JSP. Consider me a beginner in this topic. If you have suggestions about what I should learn first in order to accomplish this…
Dev
  • 794
  • 1
  • 9
  • 21
33
votes
7 answers

How can I ensure that appsettings.dev.json gets copied to the output folder?

I have three configuration files, one for each environment: appsettings.json -> production appsettings.dev.json -> development appsettings.stg.json -> staging If I set ASPNETCORE_ENVIRONMENT to dev, I get a runtime exception complaining about not…
Alex G.
  • 2,113
  • 6
  • 25
  • 33
33
votes
2 answers

When and why would I need a jboss-deployment-structure.xml for a Spring application?

I am trying to understand how to use JBoss EAP6 with Spring applications. I have a sample OpenShift application and it contains a jboss-deployment-structure.xml file. I found some documentation about this file, but I am not clear why and when one…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
32
votes
7 answers

How do I create a superuser account in Django 1.9.6

I am reading a book ("Learning Django Web Development" by Sanjeev Jaiswal and Ratan Kumar) on Django, but the book is based on an earlier version of Django (prior to version 1.9). In order to populate the database with tables, the book uses the…
Zach W
  • 331
  • 1
  • 3
  • 5
32
votes
2 answers

Enable authentication for IIS app in Powershell

I know how you set this for IIS web site by following command: Set-WebConfigurationProperty -filter "/system.webServer/security/authentication/windowsAuthentication" -name enabled -value true -PSPath "IIS:\" -location $siteName But I want to set it…
Jay Nanavaty
  • 1,089
  • 1
  • 15
  • 29
29
votes
9 answers

The username you provided is not allowed to use the text-based Tomcat Manager (error 403) when deploying on remote Tomcat8 using Jenkins

I am trying to deploy a WAR on the remote Tomcat (Remote Machine) using Jenkins deploy to container Plugin. I have done the following configuration in tomcat-users.xml
harshlal028
  • 1,539
  • 1
  • 16
  • 25
29
votes
4 answers

Meteor.js deploy to "example.com" or "www.example.com"?

I recently deployed a meteor app using the following command: $ meteor deploy example.com and later (thinking that it was the same) using the following: $ meteor deploy www.example.com It end up serving two different versions of the app, one…
jdscosta91
  • 706
  • 1
  • 8
  • 16
29
votes
4 answers

Web deployment task failed. (Could not complete the request)

I want to publish my project but: Error1 Web deployment task failed. (Could not complete the request to remote agent URL 'https://xxxxx:xxxx/msdeploy.axd?site=VoIP'.) Could not complete the request to remote agent URL…
Pch
  • 319
  • 1
  • 4
  • 6