ilkarman / Azure-WebApp-w-CNTK

Deployment template for Azure WebApp, CNTK, Python 3 (x64) and sample model
14 stars 11 forks source link

Bad request when setting git user #2

Open pamio opened 7 years ago

pamio commented 7 years ago

I'm getting Bad request error while doing this

screen shot 2017-05-10 at 5 10 43 pm

Can you help pls ?

mawah commented 7 years ago

Hi @pamio, a few quick questions:

I realize that may not resolve your issues; to get unblocked in the meantime, you can set up web deployment with the following steps:

  1. Proceed to run the az commands in step four ("Create your web-app by running the below commands"). This will create a web app and local git repo for you; now we define the deployment credentials through the web portal instead of at the command line.
  2. Navigate to the Azure Portal and use the search feature to find the app service created using these commands.
  3. On your web app's overview pane, use the search feature at upper left to find and click on the "Deployment credentials" section.
  4. Enter the credentials you want and click "Save".
  5. Continue to step five ("We will now install Python...").

Hope that helps!

pamio commented 7 years ago

@mawah Thank you for the response. I didn't go ahead with azure deployment, I hosted the model on apache with WSGI and FLASK. Needless to say, configuring apache with WSGI on windows was not easy, but the hassle was worth and its finally deployed. I now have more control over deployment and configuration as apache is something I already know :)