Install and configure Visual Studio Code for Eywa

From wiki.ferrari.mo.it
Revision as of 09:39, 30 May 2019 by Admin (talk | contribs)
Jump to navigation Jump to search

Install and configure Visual Studio Code for Eywa

1. Download and install Visual studio code from https://code.visualstudio.com/

Install it with default settings, the only suggestion is to not add it to PATH.

2. Download and install node from https://nodejs.org/en/

The current version is 10.16.0 LTS. Different *stable* version should not be a problem.

3. Install Git following the instructions at https://www.atlassian.com/git/tutorials/install-git#windows

Download Git from https://gitforwindows.org/ .

4. In Visual studio code, open a terminal

Restart Visual Studio if it is already open. Then, go to Terminal - New .

Then, execute the following commands:

git config --global user.name "Fabio Ferrari"
git config --global user.email "fabiofe@bitbucket.org"

5. Then, download the sources

git clone https://fabiofe@bitbucket.org/fabiofe/eywa.git

And, from the upper Git menu, checkout to productiontracking.

6. Download packages

npm install

7. Start application

npm start

Download last version of MDB angular (untested)

Go to

https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard

and log in with the credentials of fabio.ferrari@qwyddy-tech.com

Then, download the version you need as a .zip.

In the root folder of the zipped directory, there is a file named

ng-uikit-pro-standard-x.yy.zz.tgz

Copy it in the root folder of eywa (where the package.json file is).

Then, prior to executing step No. 6, edit the package.json file in order to match the version of MDB angular (same version of the .tgz file).