Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 998 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 998 Bytes

Sample InfluxDB

This sample count the number of tweets for a given hashtag every minute.

This sample runs a worker to update the InfluxDB database and a web container to display a graphic showing the results.

Mandatory environment variable:

  • HASHTAG: which hashtag to follow
  • TWITTER_ACCESS_SECRET, TWITTER_ACCESS_TOKEN, TWITTER_CONSUMER_KEY, TWITTER_CONSUMER_SECRET: credentials to access the Twitter API. Generate these variables here.

This sample is running on: https://influxdb.is-easy-on-scalingo.com/

Deploy via Git

Create an application on https://scalingo.com, then:

scalingo --app my-app git-setup
git push scalingo master

And that's it!

Deploy via One-Click

Deploy to Scalingo

Running Locally

docker compose up

The app listens by default on the port 8086