Embryo
  • Introduction
  • Folder Structure
  • Embryo-angular
    • Installation
    • Translate App
    • Add/Delete Component
    • Custom Widgets
    • Style Customization
    • Routing/Navigation
    • Rtl
    • Credits
  • Embryo ReactJS
    • Installation
    • Translate The App
    • Adding New Widgets
    • Style Customization
    • Instant Search With Algolia
    • Credits
  • Embryo Vuejs
  • FAQ's (Frequently Asked Questions)
  • Changelog
  • Customer Support
Powered by GitBook
On this page
  1. Embryo-angular

Installation

There are set of libraries that you need to setup your project.

PreviousEmbryo-angularNextTranslate App

Last updated 6 years ago

CtrlK
  • Development Prerequisites
  • Running development server
  • Production building

Development Prerequisites

Step 1: Install Node.js and NPM : Download Node.js from official website and Install it on your system. NPM comes bundled with Node.js

Step 2: Angular-cli : Install angular-cli by executing npm install -g @angular/cli command on your your terminal or command prompt. For more details visit

Step 3: Install npm packages : In terminal go to your project root directory and run npm install command, It will download all the dependencies under node_modules folder.

Running development server

Run ng serve command to run dev server and access http://localhost:4200/ to run your app/project on browser. The app will automatically reload if you change any of the source files.

As ng serve runs watch command which detects any change in project files so it will automatically reload your app on browser if you make any changes in files.

Production building

Run ng build to build the project. The build will be stored in the dist/ directory. Use the -prod flag for a production build. Use --aot flag for a AoT build. For example: ng build --prod --aot

Further help

To get more help on the angular-cli use ng --help or go check out

GitHub - angular/angular-cli: CLI tool for AngularGitHub
Download | Node.jsNode.js
GitHub - angular/angular-cli: CLI tool for AngularGitHub
Logo
Logo
Logo