FrontEnd Stack is built with preprocessor: HTML, CSS (Sass) and JS.
** Prerequisites
Configure editorconfig
(http://editorconfig.org/) in your editor to keep same code style format than in project.
** For Windows I recommend use 64-bit version and Cmder console (https://cmder.net/) .
- Use VS Code (https://code.visualstudio.com/) as editor but can use your favorite editor.
** For OSX
-
Install Xcode from App Store. Restart Xcode.
Check if Xcode is installed.
$ xcode-select -p
- Install Xcode Command Line Tools. Restart Xcode.
$ xcode-select --install
-
Install Homebrew (https://brew.sh/index.html/).
-
Install Git.
Install Git via Homebrew
-
Install NodeJS via NPM (Node Version Manager https://github.com/creationix/nvm/).
$ touch ~/.bash_profile
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
-
Open your
.bash_profile
and add the following line of code:source ~/.bashrc
If you can´t, install Node via Homebrew
-
Install Ruby and Sass.
Install Ruby via Homebrew
Install Sass using Ruby console
** For Windows
-
Install .Net Framework 3.5, restart Windows.
-
Install Chocolatey (https://chocolatey.org/).
-
Install Git.
Install Git via Chocolatey
-
Install Git.
Install Git via Chocolatey
-
Install NodeJS.
Install Node via Chocolatey
-
Install Ruby and Sass.
Install Ruby via Chocolatey
Install Sass using Ruby console
** For OSX or Windows
- Install Lite-Server.
npm install -g lite-server
- Install Gulp.
npm install -g gulp-cli
- Install Angular-ClI.
npm install npm install -g @angular/cli
- Clone Git project
- Open project folder in your editor
- Install local dependencies
$ npm install
-
lite-server
- Start server in html folder. -
gulp watch
- Compile sass files.
html
- Folder that contains final solution.scss
- Folder that contains styles in Sass.