Introduction
This project include the codebase for playClient and BetBuilder.
Octopus Deploy
This component is managed inside Octopus Deploy with Project Play Client V2.
Versions
- Angular => 12.2.16
- Node => 14.x.x
- npm => 6.14.15
Getting Started
requirement
- node and npm installed
- check that the
ng
command is bootable from the command line - you must be access to elys npm repository
Foreplay
Open the command line terminal on the project root folder and fire the commands:
- Check the project version is latest
- run
npm install
for install the project dependencies
Development
Run ng serve -c {tenant}
for a dev server then it start the navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
The configruation of {tenant} is write on angular.json file. Please inspect it before fire this command.
Code style and pre-commit
Run npm run code:ci
- Analyze code style rules and return the warnings or errors
Run npm run lint:fix
- Fix the problem from code styles
FYI: The pipeline call the command npm run code:ci
and if it hasn't been to finished then failed build and stop release
Build
Run npm run pipeline-build-single
start the build default tenant newgiocoit-odit
Run npm run pipeline-build-all
start the build all tenants configure.
Update LTM
npm update @ltm-international/login @ltm-international/navigation-bar --force --legacy-peer-deps