Skip to content

dappface/news-loader

Repository files navigation

DAPPFACE Logo

DAPPFACE News loader

Collect new articles and tweets

Start Locally

PROJECT_ID=dappface-dev \
  TWITTER_ACCESS_TOKEN=<access-token> \
  TWITTER_ACCESS_TOKEN_SECRET=<access-toekn-secret> \
  TWITTER_API_KEY=<api-key> \
  TWITTER_API_SECRET=<api-secret> \
  go run .

Start Docker Container

docker build -t news-loader .
docker run --rm \
  -p 8080:8080 \
  -e HOME=$HOME \
  -v $HOME:$HOME \
  -e PROJECT_ID=dappface-dev  \
  -e TWITTER_ACCESS_TOKEN=<access-token> \
  -e TWITTER_ACCESS_TOKEN_SECRET=<access-toekn-secret> \
  -e TWITTER_API_KEY=<api-key> \
  -e TWITTER_API_SECRET=<api-secret> \
  news-loader