https://git-scm.com/download/win
Open downloaded file, and keep clicking Next until you see an 'Adjusting your PATH environment' step:
You can select third option instead of second, it will add to your command line interface a set of Unix commands, and will make you able to run *.sh files (bash shell scripts)
After the adjustements step, keep clicking Next keeping all other options by default until installation finished.
Write in the command prompt:
git --version
Write in the command prompt:
git config --global http.sslVerify false
TODO review this step after transfer to TFS
Write in the command prompt:
git config --global http.sslVerify
NodeJs is a javascript engine which can be run as system application, rather than in browser. Also it's bundled with system javascript API and NPM (Node Package Manager).
https://nodejs.org/dist/v5.3.0/node-v5.3.0-x64.msi
Download the file, run it, click Next until installation is done. Do not change any preferences, unless you know consequences.
Write in the command prompt:
node --version
You should see version of the NodeJS.
Write in the command prompt:
npm - v
https://www.python.org/ftp/python/2.7.10/python-2.7.10.amd64.msi
Write in the command prompt:
python --version
Visual Studio installation is required because it's bundled with Build Tools. BuildTools are used by some components of application to compile code which communicates with Windows OS API.
This instruction does't mean that you need to use Visual Studio as actual Integrated Development Environment (IDE). Feel free to use any IDE of your choice, for example WebStorm.
Visual Studio 2015 can't be used, if you have it, uninstall it and install 2013.
https://www.microsoft.com/en-gb/download/details.aspx?id=44914
Node-gyp is nodejs framework used to compile components which use native OS calls.
TODO Normally this should be done automatically when installing sample app, verify this step again
Write in the command prompt:
npm install -g node-gyp
Write in the command prompt:
node-gyp -v
Gulp is tool which does stream and task management and abstracts file system from OS specifics. We use it as a build tool.
TODO Normally this should be done automatically when installing sample app, verify this step again
Write in the command prompt:
npm install -g gulp ![](./img/33.png)
Write in the command prompt:
gulp -v
See git clone
Write in the command prompt:
git clone <...>.git
NPM (node package manager) used to keep and synchronise a list of all libraries required for the build process.
Write in the command prompt:
cd sampleapp
Write in the command prompt:
npm install
Write in the command prompt:
cd sampleapp
Write in the command prompt:
gulp dev
Open in browser http://localhost:8100/, make sure application is running
Localhost alias allows to open site, running at local machine, as site with domain. Domains are important for site cookies work properly on them. Cookies are used at site to keep user login information and some other settings. Without localhost alias site can be accessed only at http://localhost:8100, and cookies will not work.
- Run notepad.
- Choose open file.
- Select windows HOSTS file
Typically windows HOSTS file is located at C:\Windows\System32\drivers\etc.
In file open dialog choose 'all files' instead of 'txt' files, because HOSTS file have no txt extension
If you still don't see file make sure you allow display of system and hidden files in Windows Explorer
Type in the notepad new line with content and save the file
127.0.0.1 app.local
You can use other names but they need to have domain. Example: app.loc, applocal.int
Open in browser http://app.local:8100/, make sure application is running