Skip to content

πŸš€ Quick Start

Nikolaos Christos Antoniadis edited this page Oct 16, 2025 · 3 revisions

Option 1: Deployment Setup

  1. Clone and setup:

    git clone https://github.com/yourusername/ServicesDashboard.git
    cd ServicesDashboard
  2. Start all services:

    # Start in detached mode
    docker-compose up -d
    
    # View logs (optional)
    docker-compose logs -f
  3. Access the application:

Option 2: Local Development Setup

Perfect for debugging and development with your IDE:

  1. Start the database:

    # Create local development compose file
    cp compose.yaml compose.local.yaml
    # Edit compose.local.yaml to remove servicesdashboard service
    
    docker-compose -f compose.local.yaml up -d database
  2. Run the backend locally:

    cd ServicesDashboard
    
    # Restore packages
    dotnet restore
    
    # Run with hot reload
    dotnet run --launch-profile "Development"
    # or
    dotnet watch run
  3. Run the frontend locally:

    cd services-dashboard-frontend
    
    # Install dependencies
    npm install
    
    # Start development server
    npm run dev
  4. Access locally:

πŸ”§ Configuration

Environment Variables

Backend Configuration (appsettings.Development.json):

{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning" } }, "ConnectionStrings": { "DefaultConnection": "Host=localhost;Database=servicesdashboard;Username=admin;Password=admin123" }, "AppSettings": { "DefaultOllamaBaseUrl": "[http://localhost:11434](http://localhost:11434)", "DefaultOllamaModel": "llama3.2", "NetworkScanTimeout": "00:00:30", "MaxConcurrentScans": 50 } }

Frontend Configuration (.env):

# API Configuration
VITE_API_URL=[http://localhost:8080/api](http://localhost:8080/api)
# Development Settings
VITE_DEV_MODE=true VITE_ENABLE_DEBUG=true
# Optional: Theme Settings
VITE_DEFAULT_THEME=dark

Database Configuration

The application uses PostgreSQL with automatic schema migration:

Default Connection Settings:

  • Host: localhost:5432
  • Database: servicesdashboard
  • Username: admin
  • Password: admin123
  • Schema: Auto-created on startup

Docker Platform Support

The application supports multi-platform deployment:

# In compose.yaml
services -> frontend -> platform: linux/amd64 # or linux/arm64 for Apple Silicon

Clone this wiki locally