UK-Power-Monitor-Twitter-Bot
Publish UK Power Monitor’s stats on Twitter
Source data is generated from UK-Power-Monitor
Build And Deploy
Local
- Create Twitter Project
with
OAuth 1.0a
and apply for Elevated Access Level for Manage Tweet permissions here - Clone this project
- Create .env and populate the variables
cp .env.template .env
- Issue command
go run main.go
from root of the project
Docker [Dev]
docker-compose up -d --build
Docker [Prod]
- Create .env file in the Docker host with all the required configurations
- Copy
docker-compose.prod.yml
to Docker host docker-compose -f docker-compose.prod.yml up -d