Angular Framework Project Creation on Linux Ubuntu 20.04
  1. Home
  2. Posts
  3. Angular Framework Project Creation on Linux Ubuntu 20.04
Projeto prático Publicado Lógico-matemática Inicial

Angular Framework Project Creation on Linux Ubuntu 20.04

Projeto prático com foco em this post explain the process to create and initialize an angular web application.

This post explain the process of creation, configuration and initialization of a project using the Angular Framework using a Linux operating system.

Martha Locks • Lógico-matemática • 14/08/2020
Link permanente
Objetivo educacional

This post explain the process to create and initialize an Angular Web Application.

Conteúdo

Create Angular Application

First, to create an Angular application, the following prerequisites are required:

To install Angular on your local system, you need the following:

Node.js

If you are unsure what version of Node.js runs on your system, run node -v in a terminal window.

Below is a video explaining how to install node on ubuntu linux 20.04:

 

Angular, the Angular CLI, and Angular applications depend on npm packages for many features and functions. 

To download and install see the video above How to Install Nodejs and Npm on Ubuntu 20.04 - Linux.

To check that you have the npm client installed, run npm -v in a terminal window.

Install the Angular CLI

You use the Angular CLI (Command Line Interface) to create projects, generate application code, library code, and perform a variety of ongoing development tasks such as testing, bundling and deployment.

See how to install Angular CLI in the video below:

 

Create a workspace and initial application

The Web Applications are developed in the context of a workspace.

The video below explain how to create a workspace and initial starter app:

 

 

Run the Web Application

The Angular CLI includes a server, so that you can build and serve your app locally.

  • In the workspace folder (such as /home/user/projects/my-application-name), run the following command: ng serve --open

The ng serve command launches the server, watches your files, and rebuilds the app as you make changes to those files.

The --open (or just -o) option automatically opens your browser to http://localhost:4200/.

If your installation and setup was successful, you should see a page similar to the following.

For a more thorough introduction to the fundamental concepts and terminology of Angular single-page app architecture and design principles, read the Angular Concepts section.

 

Materiais e recursos

Angular Course by Loiane Groner

Referências
  • Angular Documentation: https://angular.io/
  • Mozilla MDN Docs: https://developer.mozilla.org/en-US/
  • Loiane Groner Training: https://loiane.training/
  • Image source: https://sigao.io/environment-settings-in-an-angular-ci-cd-build-process/
Continuidade dialética
Como este conhecimento evolui:
Tese Antítese Síntese

Este post é a tese. Leituras críticas e sínteses derivadas podem ampliar sua maturidade.


Antíteses desta tese

Carregando...

Sínteses geradas

Carregando...
Metadados do recurso
Tipo de documento: Recurso Educacional
Formato: Text and Video.
Requisitos técnicos:
A computer running Ubuntu Linux, Text Editor, Basic knowledge of HTML, CSS, JavaScript, Node.js, npm package management.
Status: Publicado
Score: 80
Maturidade: Inicial
Apoio de IA: Não