Skip to content

abdounikarim/poc-angular

Repository files navigation

Hello from Angular!👋

The "Hello from Angular!👋" application is just a starter to show a minimalist Angular app.

Requirements

Installation

Clone this repository:

https://github.com/abdounikarim/poc-angular

Go on the project root folder:

cd poc-angular/

Execute this command to launch docker container in dev:

docker compose -f docker/compose.yaml up -d --build

Install JavaScript dependencies:

docker compose -f docker/compose.yaml exec node pnpm install

Or use the equivalent command with npm or yarn

Usage

There's no need to configure anything before running the application. There are 2 different ways of running this application depending on your needs:

Option 1. Run the application in dev mode

Run this command:

docker compose -f docker/compose.yaml exec node ng serve --host 0.0.0.0

Then access the application in your browser at the given URL (http://localhost:4200 by default).

Option 2. Run the application in prod mode

docker compose -f docker/compose.yaml exec node ng build

You now have your fresh JavaScript files for production 🚀. You can check everything is OK by running the ng serve command in the output directory created by the ng build command.

Tests

Execute this command to run tests:

docker compose -f docker/compose.yaml exec node ng test --watch=false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published