Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.46 KB

quick-installation.md

File metadata and controls

46 lines (33 loc) · 1.46 KB
description
Angular CLI + NodeJs + Bootstrap

Quick Installation

{% hint style="info" %} You don’t need to install or configure tools like Webpack or CLI.
They are configured and hidden so that you can focus on the code. {% endhint %}

  1. First of all it's required to Install Node and npm.

  2. Update latest angular-cli global package to Angular 8+ with cli 8.x.x

  3. Unzip next.zip file, you will find the next/template/skeleton/project folder.

  4. Open your favorite console/terminal and navigate to the skeleton/folder and Install packages

    npm install
    
  5. _**_To run project locally: Below command will run the app in development mode. Open http://localhost:4200 to view it in the browser.

    ng serve -o
    
  6. The page will automatically reload if you make changes to the code.

  7. Now you can use this Angular project for your application development, make the necessary changes.

  8. To builds the app for production, below command will create the dist/ folder inside this project directory .

    ng build --prod --aot
    

{% hint style="success" %} The project was built assuming it is hosted at the server root folder of domain/platform
i.e**http://example.com**

or

to deploy build for sub-folder
i.e**http://example.com/folder-name**

You also need to set <base href="/folder-name/"> {% endhint %}