# CAESES Data Center - Windows Distribution

## Quick Start

1. **Configure the application:**
   ```cmd
   # Copy and customize configuration
   copy configs\production.env .env
   # Edit .env with your preferred settings
   ```

2. **Start the server:**
   ```cmd
   # Using the startup script
   start-datacenter.bat

   # Or run directly
   caeses-datacenter.exe
   ```

3. **Access the API:**
   - Swagger UI: http://localhost:8000/docs
   - ReDoc: http://localhost:8000/redoc

## Configuration

The `configs\` directory contains templates for different deployment scenarios:
- `production.env` - Standard production deployment
- `docker.env` - Docker container deployment
- `sidecar.env` - Sidecar deployment alongside other applications

## Command Line Options

```cmd
caeses-datacenter.exe --help
```

## Running as a Windows Service

To run as a Windows service, consider using NSSM (Non-Sucking Service Manager):

1. Download NSSM from https://nssm.cc/
2. Install the service:
   ```cmd
   nssm install CaesesDataCenter "C:\path\to\caeses-datacenter.exe"
   nssm set CaesesDataCenter AppDirectory "C:\path\to\application\directory"
   nssm start CaesesDataCenter
   ```

For detailed documentation and integration guides, visit the CAESES documentation.
