AMP Client JS
Advertising Management Platform Client
Table of Contents
Getting Started
Please follow these instructions to get a local copy and setting up it.
Prerequisites
Installation
- Clone the repo
$ git clone git@gitlab.com:68publishers/projects/amp/amp-client-js.git
$ cd amp-client-js
- Install npm dependencies
$ npm install
Build and Demo
Use predefined commands for the application's build:
$ npm run build:dev
Paths of an output files are:
~/build/amp-client.js
(dev mode)~/dist/amp-client.min.js
(production mode) respectively ~/dist/amp-client.standalone.min.js
.
A simple demo page is located in ~/build/index.html
. To show demo in your browser run:
$ npm run start:dev
Then visit the page http://localhost:3000
.
Integration
Please see the Integration Guide.