Skip to content

dmarov/portfolio-src

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio

Portfolio

Development with Docker

  1. [optional] Create .env file and set default variables:
SERVER_PORT_EN=4200 # (4200 by default) angular server port for english version
SERVER_PORT_RU=4201 # (4201 by default) angular server port for russian version
HOST_USER_ID=1000 # (1000 by default) host user id to fix file permissions issue
HOST_GROUP_ID=1000 # (1000 by default) host group id to fix file permissions issue
  1. docker compose up [--build] - to run development container [and rebuild]. Press Ctrl+C to stop container.

  2. docker compose exec portfolio zsh - to enter container shell (to install packages and so on)

ng generate component {some component}
ng test --watch
npm install {some package}
...
  1. docker compose down [--volumes] - to stop detached container [and clear volumes]

  2. docker compose -f idle.docker-compose.yml up - to start idle container (to upgrade angular and so on)

Unit testing

  1. Use ng test to run unit tests once

  2. Use ng test --watch to run unit tests in watch mode.

  3. Use Behavior Driven Development principles for development process.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published