Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.31 KB

File metadata and controls

42 lines (27 loc) · 1.31 KB

This pulls in data from twitter about links shared and the conversation around them, munges it a bit and then serves it up.

This project is a prototype, the quality of the code is not quite as high as might be desired.

Dependencies

Credentials

We require you to pass in Twitter credentials as environment variables

TWITTER_CONSUMER_KEY="<your key>"
TWITTER_CONSUMER_SECRET="<your secret>"
TWITTER_TOKEN="<your token>"
TWITTER_SECRET="<your secret>"

These can be find these by going to Application Manangement.

Try

Deploy

Or, find your way to the directory where you checked out this project and execute the following:

$ lein repl

user=> (go)  ;; starts the example webapp on a random port
...
...
... c.beardandcode.components.web-server - Started web server on http://127.0.0.1:8080

user=> (open!)  ;; only works on OSX

If you are not on OS X, open the url found in your logs it will likely be different to the one above.