Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 937 Bytes

NOTICE.md

File metadata and controls

32 lines (21 loc) · 937 Bytes

Krait.js project installation guide

You just cloned Krait.js : git clone https://github.com/LCluber/Krait.js.git

Install nodejs on your server :

Install grunt :

  • Run npm update -g npm to update npm
  • Run npm install -g grunt-cli

Install typescript :

  • Run npm install -g typescript

Install project dependencies

  • Run npm install in your project directory

Workflow

  • Run grunt to serve the website. (http://localhost:3000/)

  • Run grunt build to build the library and serve the website.

  • Use grunt --help to see the list of tasks.

  • Set node environment if needed :

    • Run export NODE_ENV=development
    • Or export NODE_ENV=production