Skip to content

development

Kevin Mathmann edited this page Mar 24, 2017 · 4 revisions

Development

Installation

  1. Clone this repository
  2. Run npm i

DevServer

  1. Run npm start to fire up the dev server
  2. Open https://localhost:7070

To use a SSL certificate you can create a ssl.crt and a ssl.key file under webpack/ssl

Run npm run start:http to fire up the dev server on http:// instead of https://

Building

Use npm run build to build the project in production.

Use npm run build:qa to build the project with source-maps in qa.

Debug functions

Debug functions could be found under window.cwl.

window.cwl = {
    ConsoleLogger: {
        LEVELS, // ENUM
        setLevel // Function takes LEVELS ENUM
    },
    ENV, // ENUM
    changeEnv, // Function takes ENV ENUM
    TAPPIDS, // ENUM with selected TappIds
    loadTapp // Function takes TappIds 
};

Clone this wiki locally