36 lines
750 B
Markdown
36 lines
750 B
Markdown
# FEDEO Docs Site (Nuxt UI + Nuxt Content)
|
|
|
|
Diese Docs-App nutzt den Standardstil des offiziellen Nuxt-UI-Docs-Templates und rendert Inhalte aus `docs/`.
|
|
|
|
## Lokale Entwicklung
|
|
|
|
Im Ordner `docs-site` ausführen:
|
|
|
|
```bash
|
|
npm install
|
|
npm run dev
|
|
```
|
|
|
|
Danach ist die App unter `http://localhost:3005` erreichbar.
|
|
|
|
## Build
|
|
|
|
```bash
|
|
npm run build
|
|
npm run preview
|
|
```
|
|
|
|
## Production-Deploy
|
|
|
|
Das Docker-Image startet einen Nuxt Node-Server auf Port `3000`.
|
|
In der Haupt-`docker-compose.yml` ist der Service hinter Traefik unter `/docs` veröffentlicht.
|
|
|
|
## Content-Synchronisierung
|
|
|
|
Vor `dev` und `build` wird automatisch synchronisiert:
|
|
|
|
- Quelle: `../docs/**/*.md`
|
|
- Ziel: `docs-site/content`
|
|
|
|
Dabei wird `docs/README.md` zu `content/index.md` gemappt.
|