User documentation for the Biobank Clincal Genomic Research Portal
This project includes Docker Compose configuration to run the VitePress site in a containerized environment.
- Docker
- Docker Compose
To start the development server with hot reload:
docker-compose up vitepressThe site will be available at http://localhost:5173
To build the site for production:
docker-compose --profile build up vitepress-buildTo build and preview the production site:
docker-compose --profile preview up vitepress-previewThe preview will be available at http://localhost:4173
- vitepress: Development server with hot reload (default)
- vitepress-build: Production build (requires
--profile build) - vitepress-preview: Production preview server (requires
--profile preview)
To stop all running services:
docker-compose downIf you prefer to run locally without Docker:
npm install
npm run docs:dev.
├── .vitepress/ # VitePress configuration
│ └── config.js # Site configuration
├── api/ # API documentation
├── guide/ # User guides
├── public/ # Static assets
├── index.md # Homepage
└── docker-compose.yml # Docker configuration
npm run docs:dev- Start development servernpm run docs:build- Build for productionnpm run docs:preview- Preview production build