42 lines
807 B
Markdown
42 lines
807 B
Markdown
# Bay Area IT
|
|
|
|
Vite/React marketing site for `bayareait.services`.
|
|
|
|
## Local
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
## Production build
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
The production build regenerates `robots.txt` and `sitemap.xml`, runs Vite, prunes unused assets, and prerenders route HTML into `dist/`.
|
|
|
|
## Docker
|
|
|
|
```bash
|
|
docker compose up --build -d
|
|
```
|
|
|
|
The container serves the built site on `http://127.0.0.1:8080`.
|
|
|
|
## Reverse proxy with host Caddy
|
|
|
|
```caddy
|
|
bayareait.services {
|
|
encode zstd gzip
|
|
reverse_proxy 127.0.0.1:8080
|
|
}
|
|
```
|
|
|
|
## Launch notes
|
|
|
|
- Static assets are served by Caddy inside the container.
|
|
- SPA fallback is enabled while prerendered route folders still resolve directly.
|
|
- Claims such as `24/7`, `30+ local businesses`, and legal company details should be verified before launch.
|