Skip to content

music10/server

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