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
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
# Website
|
|
|
|
Angular 19 marketing site for MetoYou / Toju. This package is separate from the product client in `../toju-app/` and uses its own `package.json`.
|
|
|
|
## Install
|
|
|
|
1. Run `cd website`.
|
|
2. Run `npm install`.
|
|
|
|
## Commands
|
|
|
|
- `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.
|
|
|
|
## Structure
|
|
|
|
| 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 |
|
|
|
|
## Notes
|
|
|
|
- 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/`.
|