Exploring what lies between the physical newspaper and the digital web/app. What are the physical manifestations of news in a city? The project targets the mobile audience and the local audience.
You can test your hubot by running the following.
You can start chatbot-twitter locally by running:
% bin/hubot
An example script is included at scripts/example.coffee
, so check it out to
get started, along with the Scripting Guide.
For many common tasks, there's a good chance someone has already one to do just the thing.
There will inevitably be functionality that everyone will want. Instead of writing it yourself, you can check hubot-scripts for existing scripts.
To enable scripts from the hubot-scripts package, add the script name with
extension as a double quoted string to the hubot-scripts.json
file in this
repo.
Hubot is able to load scripts from third-party npm
package. Check the package's documentation, but in general it is:
package.json
npm install
to make sure those packages are installedexternal-scripts.json
as a double quoted stringYou can review external-scripts.json
to see what is included by default.
https://www.npmjs.com/package/hubot-twitter
You may want to get comfortable with heroku logs
and heroku restart
if you're having issues.