Giter Club home page Giter Club logo

company-insights's Introduction

Company Insights powered by IBM Watson

See the "personality" of your companies twitter feed and compare it to your competitors. Also see where you're mentioned in the news and what others are saying about you.

See it live at http://company-insights.mybluemix.net

Deploying to Bluemix

Click the button below to fork into IBM DevOps Services and deploy your own copy of this application on Bluemix.

Deploy to Bluemix

Next set your AlchemyAPI and Twitter keys via either the Bluemix web interface or the cf command line tool:

cf set-env company-insights ALCHEMY_API_KEY <api_key>
cf set-env company-insights TWITTER_CONSUMER_KEY <consumer_key>
cf set-env company-insights TWITTER_CONSUMER_SECRET <consumer_secret>
cf set-env company-insights TWITTER_ACCESS_TOKEN_KEY <access_token_key>
cf set-env company-insights TWITTER_ACCESS_TOKEN_SECRET <access_token_secret>
cf restage company-insights

Local Setup

Requires Node.js. Grab a copy of the code and install the dependencies. This also runs a one-time compile of the front-end assets.

npm install

Next create your API keys for Twitter, AlchemyAPI, and Personality Insights.

For private projects, the simplest option is to put your API keys directly in config.js. For public projects, either store them in environment variables, or alternatively, create a file named .env like so:

ALCHEMY_API_KEY=<api_key>

PERSONALITY_INSIGHTS_USERNAME=<username>
PERSONALITY_INSIGHTS_PASSWORD=<password>

TWITTER_CONSUMER_KEY=<consumer_key>
TWITTER_CONSUMER_SECRET=<consumer_secret>
TWITTER_ACCESS_TOKEN_KEY=<access_token_key>
TWITTER_ACCESS_TOKEN_SECRET=<access_token_secret>

Finally, run npm start to start app:

npm start

For development, use gulp and nodemon to automatically compile assets and restart your server when there are changes:

npm install -g gulp nodemon

And, then in seperate terminal windows, run

gulp watch

and

nodemon

company-insights's People

Contributors

germanattanasio avatar greenkeeperio-bot avatar nfriedly avatar samfrons avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.