Public Repository

Last pushed: a year ago
Short Description
Dockerfile to run python scripts that find the trending places in OSM
Full Description

The full source code is here: https://github.com/geometalab/Trending-Places-in-OpenStreetMap

If you want the twitter bot to Tweet a status, register as a developer on twitter and obtain the 4 keys to authenticate your twitter bot. The four variables required are mentioned in the sample config file.
These need to be set as environment variables system and/or in your docker container.
Example: (You need to repeat this for all four or directly input it in the docker container with -e)

export CONSUMER_KEY="somevaluehere"

To run the main program:

docker run -e CONSUMER_KEY -e CONSUMER_SECRET -e ACCESS_TOKEN -e ACCESS_TOKEN_SECRET geometalab/trendingplaces ./main.sh

OR
To set it up with a cron job that executes once every day:

docker run -e CONSUMER_KEY -e CONSUMER_SECRET -e ACCESS_TOKEN -e ACCESS_TOKEN_SECRET geometalab/trendingplaces
Docker Pull Command
Owner
geometalab

Comments (0)