Skip to content

Is there a way to run tgcf on a raspberry pi? #150

Answered by aahnik
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Make sure you have git and docker installed on your Raspberry pi.

Run these to check.

git --version
docker --version

You need a host of arm architecture to build a docker image for arm.

To see the architecture of the host machine,

uname -m

Follow the steps on your raspberry pi.

  • Clone the tgcf repo and move into it.

      git clone https://github.com/aahnik/tgcf.git && cd tgcf
  • Build the docker image

    docker build -t tgcf:rasp .
  • Come out of the tgcf folder, and create a new folder to store your configuration.

  • Run tgcf

    # make sure to be in the directory which has .env and tgcf.config.yml
    docker run -v /path/to/tgcf.config.yml:/app/tgcf.config.yml -d --env-file .env tgcf:rasp

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
3 replies
@aahnik
Comment options

@aahnik
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant