i trying deploy webapp azure. following these directions https://azure.microsoft.com/en-us/documentation/articles/web-sites-python-create-deploy-django-app/
first step, created webapp (django) on portal.
then says follow directions configure continuous deployment using git in azure app service. should apparently lead having local directory of django files. https://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/
so follow directions, installing git, creating local repository, adding webpage, enabling web app repository, deploying.
the webportal shows have deployed ('active' deployment). however, when go web app url, what's showing not deployed, rather guess default django app urls (login, logout, contacts).
so create actual django app in local directory (instead of static index.html directions). commit , push azure. shows being deployed.
the result same before: default web app showing.
so i'm missing connection between local repository , what's showing. there way pull azure default app local repository? (once it's there, i'll able change see fit.)
things working expected, ended overwriting django app in first git commit. continuous deployment instructions written generic deployment, blank web app.
so i'm missing connection between local repository , what's showing. there way pull azure default app local repository? (once it's there, i'll able change see fit.)
all need git clone
repo after you've initialized local git repo on azure web app. you've gone through of these steps, i'll include them here others may looking answer.
after create django web app azure marketplace/gallery, scroll down set continuous deployment.
choose local git repo.
notice have git clone url in both quickstart essentials info , under all settings >> properties. go ahead , copy url.
if haven't done so, may need set or reset deployment credentials. you'll find under all settings. git & ftp credentials. note credentials microsoft account, not 1 web app.
you have git installed first attempt. should able navigate folder want clone repo , run:
git clone <your_git_clone_url>
after type in password, you'll have cloned repo of django web app on local system. cd
directory , start working there. once have changes, git add .
, git commit
, , git push
them repo in azure see changes there.
Comments
Post a Comment