azure-web-sites

Deploy Django App on Azure: only displays default app, even after deployment

为君一笑 提交于 2020-01-06 02:44:09
问题 I am trying to deploy a webapp to Azure. I am following these directions https://azure.microsoft.com/en-us/documentation/articles/web-sites-python-create-deploy-django-app/ First step, I created a webapp (Django) on the portal. Then it says to follow the directions to configure Continuous deployment using GIT in Azure App Service. This should apparently lead to my having a local directory of Django files. https://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source

How to use NEST/elasticsearch with Azure?

南笙酒味 提交于 2020-01-06 02:15:09
问题 I got a website (Web App) running on Azure (example.azurewebsites.net) and I want to use NEST (http://nest.azurewebsites.net) in my Asp.Net MVC solution. Locally it works fine, but when publishing it to Azure, I can't get a connection to elasticsearch. Because I did not found any useful tutorial, I mixed three together. First I created a virtual network like described here in Step 1: http://www.kerrb.com/ecAzureVms101/day4-creating-point-to-site-vpn-to-azure-virtual-machines I called it

Azure Function+ARM: merge app settings with current settings

社会主义新天地 提交于 2020-01-05 17:57:26
问题 My deployment is split into two pipelines deploy infrastructure (run ARM template) deploy & configure application (upload app, run script) My ARM template contains an AppSettings array, like this: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { // ... }, "variables": { "functionAppName": "[parameters('appName')]", "storageAccountid": "[concat(resourceGroup().id,'/providers/','Microsoft.Storage

Django-based Azure Web App getting stuck when development server is run (on Kudu)

眉间皱痕 提交于 2020-01-05 10:19:13
问题 To migrate an app from Heroku to Azure, I recently created a Django Azure Web App, connected it to my GitHub account and pushed my existing app code onto it via git push azure master . After some hiccups, I got all required packages to install correctly too (hiccups being installation of packages which required pythonwheels). I have NOT yet run syncdb on the app (the DB's to be hosted on a separate VM; it's postgresql). But I did try to run env\scripts\python manage.py runserver to see

Capturing stdout in Azure Linux App Service via NodeJs

时光总嘲笑我的痴心妄想 提交于 2020-01-05 05:33:13
问题 I have deployed a NodeJS application to Linux App Service that logs to stderr and stdout. The diagnostic logs functionality in Linux App Service does not appear to work, as nothing appears in table storage. The only logs in Kudu are from when the docker container is deployed. After that, it logs nothing. The SSH component in Kudu does not work, even after following the official setup documentation. Has anyone come up with a way to capture stdout and stderr? or can recommend a library that

Deploying a test web app for each GitHub pull request

蹲街弑〆低调 提交于 2020-01-05 04:30:28
问题 Is it possible for GitHub to trigger a new test deployment when a pull request is submitted? I'd like for it to create a new folder on the server (Azure preferred) so that a test URL (e.g. http://testserver.com/PR602/) is generated that we can refer to in the pull request. This would allow anyone to test a pull request without having to clone the repo, check out the branch, and build it locally. In my initial research I found that Travis CI can deploy all branches, but I'm not clear how this

React and AppSettings in Azure

一曲冷凌霜 提交于 2020-01-05 04:19:06
问题 My goal is to retrieve some environnement keys from Azure Application settings like api_url. My build factory is the following : webpack for the tsx to minified js build and release with VSTS deploy on Azure Web App There is no node.js running on Azure Web App, it is just a static server that serve index.html, bundle.js and assets. I have tried this different method : Below this example, if I load system vars, I will be able to retrieve this key/value. I have tried with dotenv-webpack and

“There's nothing here yet” after deploying Java Web App on Azure

半城伤御伤魂 提交于 2020-01-05 04:17:24
问题 I have a web app I want to deploy on Azure. I followed the recommended instructions and deployed my app, and according to the Azure portal, everything is working just fine. However, when I visit the base URL my app should reside in, I see a page that says the following: This Java based web application has been successfully created There's nothing here yet, but Microsoft Azure makes it simple to publish content with GIT and FTP Also when I visit any one of the endpoints (in this case, the

Antimalware for Azure App Services

我与影子孤独终老i 提交于 2020-01-05 04:11:12
问题 We've just had penetration testing done on our website hosted in Azure (App Services). One of the things that came back was the tester was able to upload known malicious files, including: EICAR - the known Antivirus testing text file located at http://www.eicar.org/ Word documents with malicious macros embedded. And some others. These files were successfully submitted and hosted by the server. The same Eicar file is picked up right away from Avast on my local machine and blocked. Is there

Connect an Azure App Service to an Azure SQL Database with Windows Authentication

假如想象 提交于 2020-01-05 04:11:11
问题 We have: an Azure App Service (like myappservice.azurewebsites.net ) (written in C# & .net core 2.2) An Azure SQL Server (like myserver.database.net ) Currently the App Service connects to the SQL Database via SQL Server Authentication (login+password). However, if possible, we would like to have Windows Authentication . i.e. the service should be able to login without sending username and password. That way we would not need to store any login information in our service. Is that possible?