Skip to content

zainq11/redit-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redit-bot

Build Docker image

sudo docker build -t redit-bot-img .

#Check if the image was successfully created sudo docker image ls

#To inspect the image, run image with bash entrypoint #This will be helpful in inspecting the container sudo docker run -it --entrypoint /bin/bash redit-bot-img

#Once you are inside the container, verify if all go env variables look good go env

#To run the reddit bot sudo docker run -it --rm -v ~/go:/app --name redit-bot-running redit-bot redit-bot pull --path="/r/news" --agent-config "/app/bot.agent"

#Command to listen. The path cannot have "/r/" ./redit-bot listen --path="news" --agent-config "/home/zain/go/bot.agent"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published