The latest non-dev version of this app is running at Live AI Playground
The app is now connected to the A16Z ai github repository and doing automatic deployment when a new version is pushed to the production branch. Releasing to a different Heroku app/account requires the appropriate setup, including environment variables (see below).
Make sure you have Node.js and the Heroku Toolbelt installed.
The following environment variables are required (they also have to be setup in the Heroku app's environment when running it there):
#example: export COOKIES_SECRET_KEY=secretsandcookies
export COOKIES_SECRET_KEY=<secret used for cookies>
export A16Z_AI_SECRET_KEY=<key used to allow login>
#Twitter
export TWITTER_CONSUMER_KEY=<twitter api access>
export TWITTER_CONSUMER_SECRET=<twitter api access>
export TWITTER_ACCESS_TOKEN_KEY=<twitter api access>
export TWITTER_ACCESS_TOKEN_SECRET=<twitter api access>
# IBM Watson/Alchemy/etc (note that different IBM services have different auth requirements)
export IBM_WATSON_TONE_USERNAME=<IBM Tone API Username>
export IBM_WATSON_TONE_PASSWORD=<IBM Tone API Password>
export IBM_ALCHEMY_API_KEY=<IBM Alchemy API Key>For Twitter API Tokens, go here to create an app and get the appropriate tokens. (see documentation of the twitter module for more info).
These variables must be added as Config Vars to the Heroku app.
Packages used by the app are described in package.json and can be installed by running npm install on the local root directory of the repository.
$ npm install
$ npm startThe app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open
or
https://github.com/pillarjs/cookies
https://github.com/thisandagain/sentiment
https://github.com/thinkroth/Sentimental