/Leanplum-JavaScript-SDK-Sample

Sample App for the Leanplum JavaScript SDK.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

leanplum-java-script-sdk-sample

This project was generated with the Angular Full-Stack Generator version 4.1.4.

Getting Started

Prerequisites

Run Sample app

  1. Run npm install to install server dependencies.

  2. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  3. Run npm i -g gulp

  4. Run gulp serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Prepare the SDK for local development

  1. cd Leanplum-Javascript-SDK

  2. npm i

  3. npm i -g grunt-cli

  4. grunt build

  5. npm link

Run gulp build for building and gulp serve for preview.

Testing

Running npm test will run the unit tests with karma.