This is a fork of tweet-intel to provide information on the Black Lives Matter information. Made with 💙 by TheCodeWeaver. Thanks J7mbo for creating the twitter-api-php library!
- Pull the Apache PHP Docker container from webdevops:
docker pull webdevops/php-apache
- Create a file called env.list and fill it with the following environment variables.
ACCESS_TOKEN="[Twitter API Access Token]"
ACCESS_TOKEN_SECRET="[Twitter API Access Token Secret]"
CONSUMER_KEY="[Twitter API Key]"
CONSUMER_SECRET="[Twitter API Secret Key]"
- Run the following command to start the container:
docker run --env-file [Your env.list file] -v [tweet-intel source directory]:/app/ -p 80:80 -i webdevops/php-apache
- Run
ifconfig
to determine the IP address of your container (so you can access the web server) - Visit the IP address from step 4 to see the Tweet Intel page.