Skip to content

Commit

Permalink
Added device code step to compose file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Maj committed Nov 28, 2023
1 parent 062e15c commit 875e980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $ export FIRMWARE_SHORT_HASH=$(git rev-parse --short HEAD)
`mkdir device-compose-files`

**Step 3:** Generate your respective .yml file based on the device you will be pushing to:
`python gen_docker_compose_by_variant.py [DEVICE_CODE] -o device-compose-files/docker-compose.yml`
`python gen_docker_compose_by_variant.py [DEVICE_CODE] -o device-compose-files/docker-compose-[DEVICE_CODE].yml`
Find the device codes below.

| Model | DEVICE_CODE |
Expand All @@ -100,7 +100,7 @@ Find the device codes below.
| Nebra Hotspot HAT Tinkerboard 2 | NEBHNT-HHTK |

**Step 4:** Copy device compose file into root directory as docker-compose.yml:
`cp device-compose-files/docker-compose.yml ./docker-compose.yml`
`cp device-compose-files/docker-compose-[DEVICE_CODE].yml ./docker-compose.yml`

**Step 5:** Validate that the changed values you applied to settings.ini were applied in the docker-compose.yml file

Expand Down

0 comments on commit 875e980

Please sign in to comment.