deployment

Deploy Angular 2 with Azure Webapp

只谈情不闲聊 提交于 2019-12-28 05:29:04
问题 How can can I deploy an angular 2 webapp to azure? I guess I need some type of final compilation script. Thanks in advance. 回答1: In order to run angular2 app in azure follow these steps: create a new ng app (with ng cli) : ng new testApp and push to some github repo. create Azure deployment files for Kudu : npm install azure-cli -g azure site deploymentscript --node this will create 2 files .deployment and deploy.cmd edit the deploy.cmd remove the --production from the line :: 3. Install npm

How to get Fabric to automatically (instead of user-interactively) interact with shell commands? Combine with pexpect?

♀尐吖头ヾ 提交于 2019-12-28 05:28:45
问题 Seeking means to get Fabric to automatically (instead of user-interactively) interact with shell commands (and not just requests for passwords, but also requested user input when no "stdin/interactive override" like apt-get install -y is available). This question along with these Fabric docs suggest that Fabric can only "push the interactivity" back to the human user that's running the Fabric program. Seeking to instead fully automate without any human presence. Don't yet have a "real,"

How to reference different version of dll with MSBuild

天涯浪子 提交于 2019-12-28 03:46:09
问题 I have a web application project which utilises a set of 3rd party dll's. The issue is that the dev/staging environment is 32bit, but production is 64bit. As such, we have to re-reference and build the solution each time we want to deploy. I am now wanting to automate this, but unsure how to go about it with MSBuild? All other dll's are the same, just the 3 3rd party dll's. EDIT I have made some headway, however am coming up with some runtime assembly issues. I have 3 dll files, 1.dll, 2.dll,

How to conditionally deploy an app.config based on build configuration?

﹥>﹥吖頭↗ 提交于 2019-12-28 03:38:06
问题 I have three custom build configurations { Dev, Qs, Prd }. So, I have three app configs { Dev.config, Qs.config, Prd.config }. I know how to edit the .csproj file to output the correct one based on the current build configuration. <Target Name="AfterBuild"> <Delete Files="$(TargetDir)$(TargetFileName).config" /> <Copy SourceFiles="$(ProjectDir)$(Configuration).config" DestinationFiles="$(TargetDir)$(TargetFileName).config" /> </Target> My problem is, I need to have six build configurations {

How do I update a Tomcat webapp without restarting the entire service?

ε祈祈猫儿з 提交于 2019-12-27 18:20:21
问题 I'm new to Tomcat . We have a dev machine with about 5 apps running. Even though it's dev, it's used by our clients pretty heavily during testing. So say we need to make one small change on one class file. Right now, we have to shutdown Tomcat (affecting the other four apps), delete the WAR file (and web app directory), redeploy the new WAR file and restart Tomcat . Of course, this upsets a few people because it destroys all logged in sessions for all apps. Is there a better way to do this? I

How do I manage third-party Python libraries with Google App Engine? (virtualenv? pip?)

安稳与你 提交于 2019-12-27 10:43:52
问题 What's the best strategy for managing third-party Python libraries with Google App Engine? Say I want to use Flask, a webapp framework. A blog entry says to do this, which doesn't seem right: $ cd /tmp/ $ wget http://pypi.python.org/packages/source/F/Flask/Flask-0.6.1.tar.gz $ tar zxf Flask-0.6.1.tar.gz $ cp -r Flask-0.6.1/flask ~/path/to/project/ (... repeat for other packages ...) There must be a better way to manage third-party code, especially if I want to track versions, test upgrades or

How do I manage third-party Python libraries with Google App Engine? (virtualenv? pip?)

与世无争的帅哥 提交于 2019-12-27 10:43:46
问题 What's the best strategy for managing third-party Python libraries with Google App Engine? Say I want to use Flask, a webapp framework. A blog entry says to do this, which doesn't seem right: $ cd /tmp/ $ wget http://pypi.python.org/packages/source/F/Flask/Flask-0.6.1.tar.gz $ tar zxf Flask-0.6.1.tar.gz $ cp -r Flask-0.6.1/flask ~/path/to/project/ (... repeat for other packages ...) There must be a better way to manage third-party code, especially if I want to track versions, test upgrades or

How to deploy new program including .NET files

孤街醉人 提交于 2019-12-26 12:35:40
问题 A while ago I have created a program in visual studio and installed it on another computer which I was needed to install before a lot of .NET files, framework files, sqla and sdk files and more, and just then, I was able to activate the program. It was a windowsForms application on desktop- so this is what I have tried. Please how can I make it easier? How can I install the program on another computer including already all of the files? Instead of installing them separately? Maybe on dll? I

How to deploy new program including .NET files

早过忘川 提交于 2019-12-26 12:35:06
问题 A while ago I have created a program in visual studio and installed it on another computer which I was needed to install before a lot of .NET files, framework files, sqla and sdk files and more, and just then, I was able to activate the program. It was a windowsForms application on desktop- so this is what I have tried. Please how can I make it easier? How can I install the program on another computer including already all of the files? Instead of installing them separately? Maybe on dll? I

How to deploy new program including .NET files

☆樱花仙子☆ 提交于 2019-12-26 12:35:03
问题 A while ago I have created a program in visual studio and installed it on another computer which I was needed to install before a lot of .NET files, framework files, sqla and sdk files and more, and just then, I was able to activate the program. It was a windowsForms application on desktop- so this is what I have tried. Please how can I make it easier? How can I install the program on another computer including already all of the files? Instead of installing them separately? Maybe on dll? I