Skip to content

music10/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

300a668 · Aug 13, 2021

History

79 Commits
Jan 18, 2021
Aug 9, 2021
Aug 13, 2021
Dec 26, 2020
Feb 27, 2021
Dec 26, 2020
Jan 18, 2021
Jan 18, 2021
Dec 26, 2020
Aug 9, 2021
Jul 16, 2021
Aug 9, 2021
Aug 9, 2021
Jan 18, 2021
Jul 12, 2021
Jul 16, 2021

Repository files navigation

Music10 Server Server test & publish

Description

TODO

NPM-scripts

  • prebuild - clear old build artifacts
  • build - build application
  • format - format sources
  • start - run application
  • start:dev - Run application with --watch
  • start:debug - Run application with debug tools
  • start:prod - Run application using production params
  • lint - Lint source using eslint
  • test - Run unit tests using Jest
  • test:watch - Run unit tests using Jest with --watch
  • test:cov - Run unit tests using Jest with coverage
  • test:debug - Run unit tests using Jest with debug tools
  • test:e2e - Run e2e tests
  • doc - Generate documentation using compodoc
  • deploy:doc - Deploy documentation
  • deploy:coverage - Deploy test-coverage result

Local run

npm install
npm start

Deploy

docker pull docker.pkg.github.com/music10/server/server:latest
docker rm --force musiq
docker run -p 5001:3001 -p 5000:3000 -d --name musiq --restart always docker.pkg.github.com/music10/server/server:latest