неділя, 9 вересня 2018 р.

Azure on Linux locally

This August I've tried to run Azure on Linux locally.

I've spent ~10 hours to understand how to configure it on Linux and how to deal with the existing issues to create and run a simple HTTP trigger.

Normally it should not be so hard.

Issues:

* it doesn't work for my locale, so I have to set en_US.utf8 , otherwise "func extensions install" doesn't work; https://github.com/Azure/azure-functions-core-tools/issues/519

* documentation didn't mention that I should run it using the "-build" flag for C#-based projects, i.e. "func host start --build"; https://github.com/MicrosoftDocs/azure-docs/issues/13253

* the latest code that have worked for me on Debian 9 was on the "artful" repository;