Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.23 KB

running-twitter-scheduler-locally.md

File metadata and controls

45 lines (29 loc) · 1.23 KB

Running Twitter Scheduler locally

A docker compose file is provided in order to provide the capability of execute Twitter Scheduler locally, allowing to publish tweets in your own Twitter account.

Prerequesites

Is needed to have docker and docker compose installed.

Twitter API credentials

Log in your Twitter account and get your Twitter API credentials: https://developer.twitter.com/en/portal/dashboard

Add them to docker-compose.yml file:

    environment:
      - TWITTER_CONSUMER_KEY=<your-twitter-consumer-key>
      - TWITTER_CONSUMER_SECRET=<your-twitter-consumer-secret>
      - TWITTER_ACCESS_TOKEN=<your-twitter-access-token>
      - TWITTER_ACCESS_TOKEN_SECRET=<your-twitter-access-token-secret>

Run Twitter Scheduler

From repository root path:

cd docker-compose
docker-compose up

Application is deployed: http://localhost:8080/

Stop Twitter Scheduler

docker-compose down