feat: Add TURN server support
All checks were successful
Queue Release Build / prepare (push) Successful in 15s
Deploy Web Apps / deploy (push) Successful in 5m35s
Queue Release Build / build-linux (push) Successful in 24m45s
Queue Release Build / build-windows (push) Successful in 13m52s
Queue Release Build / finalize (push) Successful in 23s

This commit is contained in:
2026-04-18 21:27:04 +02:00
parent 167c45ba8d
commit 44588e8789
60 changed files with 2404 additions and 365 deletions

View File

@@ -1,59 +1,32 @@
# TojuWebsite
# Website
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.21.
Angular 19 marketing site for MetoYou / Toju. This package is separate from the product client in `../toju-app/` and uses its own `package.json`.
## Development server
## Install
To start a local development server, run:
1. Run `cd website`.
2. Run `npm install`.
```bash
ng serve
```
## Commands
Once the server is running, open your browser and navigate to `http://localhost:4200/`. The application will automatically reload whenever you modify any of the source files.
- `npm run start` starts the local dev server and uses `proxy.conf.json`.
- `npm run build` builds the site to `dist/toju-website` with the configured SSR/prerender setup.
- `npm run watch` rebuilds in development mode.
- `npm run test` runs the Karma test suite.
- `npm run serve:ssr:toju-website` serves the built SSR output.
## Code scaffolding
## Structure
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
| Path | Description |
| --- | --- |
| `src/app/` | Website pages, sections, and shared UI |
| `src/images/` | Marketing images copied to `/images` during build |
| `public/` | Static public assets |
| `proxy.conf.json` | Local development proxy configuration |
| `angular.json` | Angular build, serve, SSR, prerender, and test targets |
```bash
ng generate component component-name
```
## Notes
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
```bash
ng generate --help
```
## Building
To build the project run:
```bash
ng build
```
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
## Running unit tests
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
```bash
ng test
```
## Running end-to-end tests
For end-to-end (e2e) testing, run:
```bash
ng e2e
```
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
## Additional Resources
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
- The website is its own Angular workspace and is not installed by the root `npm install`.
- Build output in `dist/toju-website/` is generated.
- Keep website code isolated from `toju-app/`, `electron/`, and `server/`.