-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit c909db3.
- Loading branch information
1 parent
c909db3
commit faebbdb
Showing
2 changed files
with
4 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,6 @@ Repository containing sub-repos for setting up the whole project | |
|
||
## Download | ||
|
||
### VCSTool | ||
|
||
Install the [vcs](https://github.com/dirk-thomas/vcstool) tool: | ||
|
||
```bash | ||
pip3 install vcstool | ||
``` | ||
|
||
### Get the project | ||
```bash | ||
git clone [email protected]:wise-vision/wisevision.proj.git && cd wisevision.proj | ||
vcs import --recursive < project.repos | ||
|
@@ -31,29 +22,13 @@ source install/setup.bash | |
|
||
## Docker Run | ||
|
||
Other way to run the project is to use docker-compose. This step requires `docker`, `docker-compose` installed and also the GitHub token to be set in the environment | ||
|
||
### Setup | ||
|
||
It is required to set up | ||
Easiest way to run the project is to use docker-compose. | ||
|
||
```bash | ||
vcs import --recursive < project.repos | ||
cp src/ros2_lora_bridge/.env_example src/ros2_lora_bridge/.env | ||
``` | ||
|
||
### Run with docker-compose | ||
|
||
``` | ||
$ GITHUB_TOKEN=<YOUR-GH-TOKEN> docker-compose up --build | ||
docker-compose up --build | ||
``` | ||
|
||
## FAQ | ||
|
||
### Permission denied for docker hub | ||
|
||
In case of permission denied for docker hub -> create the required image locally: | ||
|
||
Permission denied for docker hub -> create image locally: | ||
``` bash | ||
cd src/wisevision_msgs | ||
docker build -t wisevision/ros_with_wisevision_msgs:humble -f Dockerfile . | ||
|
@@ -63,7 +38,7 @@ docker-compose up --build | |
|
||
## Run workflow with act | ||
|
||
Install `act` tool [link](https://github.com/nektos/act). | ||
Act tool [link](https://github.com/nektos/act). | ||
|
||
```bash | ||
act pull_request -W .github/workflows/ros2_ci.yml -j build -P ubuntu-22.04=catthehacker/ubuntu:act-22.04 --secret SSH_KEY="$(cat path/to/your/private_key)" | ||
|