Difference between revisions of "Application Development Framework setup on Windows"

From Datonis
Jump to: navigation, search
m
m
Line 31: Line 31:
 
* Similarly install make by issuing command '''pacman -S make'''
 
* Similarly install make by issuing command '''pacman -S make'''
 
* Also, install vim '''pacman -S vim'''
 
* Also, install vim '''pacman -S vim'''
 
+
* Open file ~/.bashrc using vim and add the following two lines at the end of the file:
 +
** export PATH=$PATH:/c/Ruby23-x64/bin:/c/Program\ Files/nodejs
 +
** alias vi=vim
 +
*
 
== Configure the application framework ==
 
== Configure the application framework ==
  
 
== Starting the development web server ==
 
== Starting the development web server ==

Revision as of 10:54, 17 August 2017

Follow the steps in the sequence described below:

Download and install Mongodb

  1. Note that you will need a 64 bit Windows machine for this setup.
  2. Download mongodb installer for Windows Server 2008 R2 64-bit and later, with SSL support x64 from: MongoDB Download Center
  3. Follow instructions from Mongodb documentation for:
    1. Downloading and installing the correct version for your platform
    2. Setting up paths for data and log storage
    3. Setting up Mongodb as a Windows service

Install Ruby

Download and install Ruby version 2.3.3 x64 from https://rubyinstaller.org/downloads/

Make sure you check the options to Add ruby to your system path during the installation. Refer screenshot below

Ruby-installation.png

Install nodejs

Download and install latest nodejs version for Windows x64 platform from https://nodejs.org/en/download/

Install and configure development tools

  • Install MSYS2 for Windows x64 platform from: http://www.msys2.org/. For example the file name for 64-bit version would be similar to:  msys2-x86_64-20161025.exe
  • Run the msys2 shell (by navigating through the Start menu)
 Navigate-msys2.png 
  • Install development tools by issuing command pacman -S mingw-w64-x86_64-toolchain. Select all option
 Install-compiler.png 
  • Similarly install make by issuing command pacman -S make
  • Also, install vim pacman -S vim
  • Open file ~/.bashrc using vim and add the following two lines at the end of the file:
    • export PATH=$PATH:/c/Ruby23-x64/bin:/c/Program\ Files/nodejs
    • alias vi=vim

Configure the application framework

Starting the development web server