Skip to content
This repository was archived by the owner on Sep 27, 2020. It is now read-only.

Latest commit

 

History

History
48 lines (30 loc) · 985 Bytes

install-dev-environment.md

File metadata and controls

48 lines (30 loc) · 985 Bytes

Install the developer environment

1 - Requirement

  • NodeJS 0.12+

2 - Install dependencies

npm install

3 - Start the server and the watcher

npm run dev-start

The processes are handled by PM2.

By default, the server is running on the port 1337. To change it, create a file config/parameters.json based on config/parameters.json.dist and put your custom port.

The watcher checks the bundle-es6 directory and auto-compile to the bundle directory when a file is modified. The server is also reloaded automatically.

4 - Check the watcher

npm run dev-logs

This command displays the process logs of the server and the watcher. It is usefull to check the errors.

5 - Stop the server and the watcher

npm run dev-stop