Skip to content

kaizenplatform/FacebookInsightsConnector

Repository files navigation

FacebookInsightsConnector

Build Status

The Web Data Connector for Facebook Insights.

Screenshot

Install

npm install

Settings

cp .env.sample .env

Then, Set up the envs for yourself.

Run server

You can run the server with built static files.

npm start
open http://localhost:8080/

Development

PORT=8080 npm dev-server

Simulator

Tableau provides the simulator before trying plugins in Tableau Desktop.

git clone https://github.com/tableau/webdataconnector.git
cd webdataconnector
npm install --production
npm start
open http://localhost:8888/Simulator/index.html

Set http://localhost:8080/ at WDC URL of the UI.

Lint

Lint the code to align the coding styles.

npm run lint
npm run lint-fix # Fix lint errors automatically

Production

Deploy

npm run deploy

It automatically publish the app to S3.

Test

npm run test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2017 KAIZEN platform. See LICENSE for details.