Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Site Extension for Azure Web Apps #112

Open
jefking opened this issue May 1, 2015 · 7 comments
Open

Make Site Extension for Azure Web Apps #112

jefking opened this issue May 1, 2015 · 7 comments

Comments

@jefking
Copy link

jefking commented May 1, 2015

Kudu Site Extensions: https://github.com/projectkudu/kudu/wiki/Azure-Site-Extensions

@jefking
Copy link
Author

jefking commented May 1, 2015

@AmadeusW
Copy link
Member

AmadeusW commented May 1, 2015

Is Kudu a host program that lives within Azure and loads extensions? Or did you just use it as template code?

@jefking
Copy link
Author

jefking commented May 1, 2015

This is Kudu that runs all the extensions. I found out that this will only work for sites that deploy using Git (which makes sense).

Next we need to have the Web app read off the local repository.
Pathing looks like this: \site\repository\

@jefking
Copy link
Author

jefking commented May 1, 2015

To deploy to an Azure website as an extension you currently need to:

  • Compile solution
  • Publish using the local.pubxml
  • Run /SiteExtension/deploy.cmd

Publishing: creates directory in /SiteExtension/PublishProfiles/...
Runing batch: creates zip to deploy; and deploys to specified Kudu site.

@jefking
Copy link
Author

jefking commented May 2, 2015

I have just confirmed that we can read the Git repository from the web app. I just need some help wiring up this directory as being the source directory!

@AmadeusW
Copy link
Member

AmadeusW commented May 3, 2015

Does every website/web app have a git repository? I will run try tomorrow morning on my website.
What's the directory path?

@AmadeusW
Copy link
Member

AmadeusW commented May 3, 2015

Check out SourceBrowser.Samples project for how to supply the path and start SourceBrowser.
I'll check out your fork and see where you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants