update list numbering, clarify codespaces

This commit is contained in:
Roel Fauconnier 2022-06-03 12:44:49 +00:00 коммит произвёл GitHub
Родитель 0693133751
Коммит f67d21ae38
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -10,14 +10,14 @@ Please fork, branch and pull-request any changes you'd like to make. For more in
`git clone https://github.com/<your_id>/iotedgedev.git`
1. Install **[Docker](https://docs.docker.com/engine/installation/)**
2. Install **[Docker](https://docs.docker.com/engine/installation/)**
- Windows
- Be sure to check whether you are running in Linux container mode or Windows container mode.
- Linux
- We've seen some issues with docker.io. If IoT Edge doesn't run for you, then try installing Docker CE directly instead of via docker.io. Use the [CE install steps](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-docker-ce), or use the [convenience script](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-convenience-script).
- By default, you need `sudo` to run `docker` commands. If you want to avoid this, please follow the [post-installation steps for Linux](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user).
1. Setup development environment
3. Setup development environment
There are two options to setup your development environment:
@ -31,9 +31,9 @@ Please fork, branch and pull-request any changes you'd like to make. For more in
pip install -e .
```
1. Rename `.env.tmp` in the root of the repo to `.env` and set the `IOTHUB_CONNECTION_STRING` and `DEVICE_CONNECTION_STRING` values to settings from your existing IoT Hub and Edge Device. If you don't have these, or want to create new ones, you could run `iotedgedev iothub setup` in the root of the repo to setup your resources and fill out the values automatically.
4. Rename `.env.tmp` in the root of the repo to `.env` and set the `IOTHUB_CONNECTION_STRING` and `DEVICE_CONNECTION_STRING` values to settings from your existing IoT Hub and Edge Device. If you don't have these, or want to create new ones, you could run `iotedgedev iothub setup` in the root of the repo to setup your resources and fill out the values automatically.
> NOTE: It is also possible to use [GitHub Codespaces](https://github.com/features/codespaces): after creating the Codespaces on your fork, all the above steps apply.
> NOTE: It is also possible to use [GitHub Codespaces](https://github.com/features/codespaces): after creating the Codespaces, you'll need to go through steps 3 and 4.
## Run and debug tests