1.2.0 • Published 6 years ago

dcm-dfa-wdc v1.2.0

Weekly downloads
13
License
-
Repository
github
Last release
6 years ago

DoubleClick Campaign Manager WDC Build Status

Running this WDC

If at all possible, we recommend using the hosted version of this WDC.

If you'd like to run this locally or deploy it yourself, you will need to do the following:

  • Make sure you have Node.js and grunt installed.
  • Register an application with Google
    • Set up your client's Redirect URL(s) to include http://localhost:9001 (or whatever host/port you will be running on)
    • Note the Client ID and Client Secret for your application.
  • Clone this repository's code locally and run:
    • npm install
    • grunt build
  • Set some environment variables (instructions may differ per hosting provider):
export GCLIENT_ID='Your Google App Client ID Here'
export GCLIENT_SECRET='Your Google App Client Secret Here'
export GREDIRECT_URL='http://localhost:9001' # or the URL where your copy of the WDC can be accessed
export PORT='9001' # or the poart that your app will respond on