зеркало из https://github.com/Azure/iotedgedev.git
Resolve review comment (#189)
* Resolve review comment * Clean up README * Update wiki link
This commit is contained in:
Родитель
6a83cc07c8
Коммит
071a9333d9
12
README.md
12
README.md
|
@ -63,18 +63,6 @@ The only thing you need to install is Docker. All of the other dev dependencies
|
|||
|
||||
`iotedgedev monitor`
|
||||
|
||||
## Set up environment manually
|
||||
If you prefer setting up environment manually instead of running the Azure IoT Edge Dev Docker image, you need to install below prerequisites:
|
||||
* [Docker](https://docs.docker.com/install/)
|
||||
* [Python](https://www.python.org/downloads/)
|
||||
* [Pip](https://pip.pypa.io/en/stable/installing/)
|
||||
* Azure IoT Edge Dev Tool: `pip install -U iotedgedev`
|
||||
* [Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
|
||||
* iothub-explorer and tree-kill: `npm i -g iothub-explorer tree-kill`
|
||||
* [.NET Core SDK](https://www.microsoft.com/net/download) (for C# module and C# Azure Functions module development only)
|
||||
* Cookiecutter (for Python module development only): `pip install -U cookiecutter`
|
||||
* Yeoman and Azure IoT Edge Node.js module generator (for Node.js module development only): `npm i -g yo generator-azure-iot-edge-module`
|
||||
|
||||
## Resources
|
||||
Please refer to the [Wiki](https://github.com/Azure/iotedgedev/wiki) for details on setup, usage, and troubleshooting.
|
||||
|
||||
|
|
|
@ -37,8 +37,7 @@ class DotNet:
|
|||
if project_file is None or project_file == "":
|
||||
return False
|
||||
|
||||
self.utility.exe_proc(["dotnet", "build", project_file,
|
||||
"-v", self.envvars.DOTNET_VERBOSITY])
|
||||
self.utility.exe_proc(["dotnet", "build", project_file, "-v", self.envvars.DOTNET_VERBOSITY])
|
||||
return True
|
||||
|
||||
def publish_module(self, project_file):
|
||||
|
|
|
@ -46,8 +46,7 @@ class Modules:
|
|||
self.utility.check_dependency("cookiecutter --help".split(), "To add new Python modules, the Cookiecutter tool")
|
||||
github_source = "https://github.com/Azure/cookiecutter-azure-iot-edge-module"
|
||||
branch = "master"
|
||||
cmd = ("cookiecutter --no-input {0} module_name={1} image_repository={2} --checkout {3}"
|
||||
.format(github_source, name, repo, branch))
|
||||
cmd = "cookiecutter --no-input {0} module_name={1} image_repository={2} --checkout {3}".format(github_source, name, repo, branch)
|
||||
self.output.header(cmd)
|
||||
self.utility.exe_proc(cmd.split(), cwd=cwd)
|
||||
elif template == "csharpfunction":
|
||||
|
|
|
@ -44,7 +44,7 @@ class Utility:
|
|||
try:
|
||||
self.exe_proc(params, shell=shell, suppress_out=True)
|
||||
except:
|
||||
self.output.error("{0} is required by the Azure IoT Edge Dev Tool. For installation instructions, see the README at https://aka.ms/iotedgedev.".format(description))
|
||||
self.output.error("{0} is required by the Azure IoT Edge Dev Tool. For installation instructions, see https://aka.ms/iotedgedevwiki.".format(description))
|
||||
sys.exit(-1)
|
||||
|
||||
def is_dir_empty(self, name):
|
||||
|
|
Загрузка…
Ссылка в новой задаче