Skip to content

Commit

Permalink
Revert "Adkrawcz/release hot fixes (#10)" (#11)
Browse files Browse the repository at this point in the history
This reverts commit c909db3.
  • Loading branch information
adamkrawczyk authored Dec 14, 2024
1 parent c909db3 commit faebbdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
33 changes: 4 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
Expand All @@ -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)"
Expand Down
Binary file added bin/act
Binary file not shown.

0 comments on commit faebbdb

Please sign in to comment.