Skip to content

nvphungdev/studenthub-staff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,609 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genrate ngsw.json

./node_modules/.bin/ngsw-config ./www/<project-name> ./src/ngsw-config.json [/base/href]

Sample for localhost

./node_modules/.bin/ngsw-config ./www ./src/ngsw-config.json http://localhost/studenthub-staff/www/

todo

  • forms with datetime field need to test
  • test whole app
  • ability to use algolia key with expiry
  • refresh functionality in instant search need to test

** Docker

To run in container

docker compose up

** Build and Deploy using Dockerfile

To build a Docker Image, we have to run the following command in our terminal:

docker build -t <image-name>:<tag-name> .

To run the built docker image, use the following command:

docker run -d --publish 3000:80 --name <image-name> --network <your local ip> <image-name>:<tag-name>

To run container

docker run -d --publish 3000:80 <image-name>

To access in browser

http://localhost:3000

For ionic serve command, replace port 3000 with 8100

For more commands follow the link

https://raw.githubusercontent.com/sangam14/dockercheatsheets/master/dockercheatsheet8.png

To fix heap limit error

export NODE_OPTIONS=--max_old_space_size=20480

About

Ionic app for Payroll Staff Management

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 62.0%
  • HTML 24.6%
  • SCSS 13.3%
  • Other 0.1%