michals-silly-game-frontend/README.md

37 lines
1.5 KiB
Markdown
Raw Normal View History

2025-04-16 08:27:35 +00:00
<h1># How to run me locally?</h1>
2025-04-16 08:28:29 +00:00
2025-04-16 08:27:19 +00:00
Use `docker build --platform linux/arm64 --build-arg LOCAL=true -t silly-game-frontend .`
2025-04-16 08:28:29 +00:00
and then `docker run -d -p 4200:80 silly-game-frontend` and then visil https//:localhost:4200
2025-04-08 13:42:26 +00:00
And you also need a local mailhog application `docker run -d -p 8025:8025 -p 1025:1025 mailhog/mailhog`
2025-04-09 08:49:34 +00:00
and a backend https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/michals-silly-game-backend
2025-04-09 07:52:51 +00:00
2025-04-07 09:20:49 +00:00
# SillyGameFrontend
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.2.1.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.