Giter Club home page Giter Club logo

declick-client-v2's Introduction

Declick Client v2

This component is part of Declick v2 platform.

Installation

  1. Install node.js
  2. Install grunt
  3. Run npm run install_declick
    • On Win system, npm can stop install on fsevents can cause an error; fsevents is needed by chokidar on MacOs, himself needed by webpack. No needed on win. A dirty way to pass through is to delete this dependency on package.json of chokidar in your node_modules

Configuration

Go to src/resources and copy config.dist.json to config.json - change parameters according to your configuration:

  • backend-path: path to the server's endpoint (should be on the same machine/domain). See declick-server
  • wpaint-path: relative path to the lib wpaint (should not be modified)
  • slide-url: path to the server providing slides in exercise mode. These slides are included using an iframe. Slide url is computed from this parameter and slide id appended.
  • cache: true/false, use localStorage to store components and objects
  • debug: true/false, display debug messages in console
  • log: true/false, display log messages in console
  • error: true/false, display error messages in console
  • cache-version: integer, used by build script for cache management
  • optimized: true/false, should be set to false: used by build script to identify compiled sources
  • analytics: false/path to an optional js script that would be included in every page (for stats). The path is relative to the application root.

Build

Files located under src directory can be used for development.

To get a compiled version for production, run:

grunt build_declick

Built files are located under the "dist" directory

External libraries

Declick Clilent uses the following libraries:

declick-client-v2's People

Contributors

liaokami avatar neonunux avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.