deaf-first-platform

GitHub Pages Setup Guide

Overview

This repository is configured with a modern, cutting-edge showcase interface that automatically deploys to GitHub Pages using GitHub Actions.

Features

Modern Interface

Accessibility First

🚀 Production Ready

Quick Start

Enable GitHub Pages

  1. Go to your repository settings
  2. Navigate to SettingsPages
  3. Under Build and deployment, select:
    • Source: GitHub Actions
  4. The site will automatically deploy on every push to the main branch

Manual Deployment

To manually trigger a deployment:

  1. Go to the Actions tab in your repository
  2. Select the Deploy to GitHub Pages workflow
  3. Click Run workflowRun workflow

Local Development

Run Development Server

# Install dependencies
npm install

# Start dev server
npm run dev:frontend

The development server will start at http://localhost:5173/DEAF-FIRST-PLATFORM/

Build for Production

# Build the frontend
npm run build --workspace=frontend

The production build will be generated in frontend/dist/

Preview Production Build

# Preview the production build locally
cd frontend
npm run preview

Interface Features

Hero Section

  1. Overview - Platform statistics and technology stack
  2. Services - Interactive cards for all 5 microservices
  3. Features - Platform features and call-to-action

Interactive Service Cards

Click on any service card to reveal:

Available services:

Deployment Configuration

Vite Configuration

The frontend/vite.config.ts is configured with:

GitHub Actions Workflow

Located at .github/workflows/deploy.yml:

Customization

Update Base Path

If your repository name changes, update the base path in frontend/vite.config.ts:

export default defineConfig({
  base: '/YOUR-REPO-NAME/',
  // ... other config
});

Modify Content

Technology Stack

Troubleshooting

Site Not Loading

  1. Check that GitHub Pages is enabled in repository settings
  2. Verify the workflow ran successfully in the Actions tab
  3. Ensure the base path matches your repository name

Broken Styles

Build Fails

Production Deployment Checklist

✅ All buttons and options are functional ✅ Responsive design tested on multiple devices ✅ Accessibility features verified ✅ Build process tested and working ✅ GitHub Actions workflow configured ✅ GitHub Pages enabled in repository settings

Support

For issues or questions:


Built with ❤️ by 360 Magicians