Skip to content

Installation Guide

Thomas Roux edited this page Aug 23, 2018 · 1 revision

Installation Guide

Prerequisite

  • You should install first Node JS or NVM Note: requires a node version >= 8 and an npm version >= 5.

As a matter of precaution

  • if you're using NVM, you should check everytimes that the active version of node is a recent one. (Sometime, especially after a shut-down, the system can go back to an older version of node).

     $ nvm current
     # if < 7.2.0
     $ nvm install 10.9.0
     $ nvm use 10.9.0
    
  • There is a root issue with nvm especially with Linux, if you have problem with permissions type in your terminal :

     n=$(which node);n=${n%/bin/node}; chmod -R 755 $n/bin/*; sudo cp -r $n/{bin,lib,share} /usr/local
    

    The above command is copying whatever version of node you have active via nvm into the /usr/local/ directory and setting the permissions so that all users can access them

  • You can encounter problems with permission and npm (in particular in the case you installed something with sudo), check that link for solutions.

Installation

  1. Clone the project in your local folder.

  2. make a yarn install

  3. then a yarn start

  4. Bravo ! the application is now available at http://127.0.0.1:3000 and should work without problems.

if you still have errors especially regarding ES6 syntax, check your node version again !