Athena — mahmoud-consultancy/deployment.md

Deployment Guide - GloryLabs Website

Overview

This guide covers deployment options for the GloryLabs website built with Astro.js.

Current Setup

  • Framework: Astro.js (Static Site Generation)
  • Content: File-based markdown system in src/content/jobs/
  • Admin: Basic client-side authentication
  • Build Output: Static files in dist/ folder

Deployment Options

Option 1: Static Deployment (Recommended for MVP)

Suitable for: TransIP shared hosting, Netlify, Vercel, GitHub Pages

Steps:

  1. Build the site:

    npm run build
    
  2. Upload contents of dist/ folder to your web hosting

  3. Configure web server (if needed):

    • Set index.html as default document
    • Enable HTML5 history mode for client-side routing

TransIP Shared Hosting:

  • Upload dist/ contents to public_html/ via FTP/SFTP
  • Configure .htaccess if needed for routing

Option 2: VPS Deployment with Node.js (For future scaling)

Suitable for: TransIP VPS, DigitalOcean, AWS EC2

Steps:

  1. Install Node.js on VPS
  2. Clone repository
  3. Install dependencies: npm install
  4. Build: npm run build
  5. Serve static files with nginx/Apache or Node.js server

Company Structure Planning

Current Status

  • Main Brand: GloryLabs B.V. (Parent company)
  • New Handelsnaam Needed: For the interim bureau/recruitment arm

Recommendations:

  1. GloryLabs B.V. (Parent)

    • Strategic consultancy services
    • Website: glorylabs.nl
  2. [New Handelsnaam] Interim & Recruitment (Division)

    • Job placement and interim management
    • Current website: Job portal functionality
    • Could be: "MC Interim", "Mahmoud Recruitment", "Consultancy Connect"

Next Steps for Company Structure:

  1. Register new handelsnaam with KvK
  2. Set up separate branding/domain if desired
  3. Update website footer and legal pages

Content Management (MVP Style)

Adding New Jobs:

  1. Create new .md file in src/content/jobs/
  2. Follow existing template format
  3. Rebuild and redeploy site
  4. Jobs automatically appear on homepage and generate detail pages

Job File Template:

---
id: 5
title: "Your Job Title"
company: "Company Name"
location: "City, Netherlands"
salary: "€XX.000 - €XX.000"
type: "Fulltime"
category: "Category"
posted: "2024-01-08"
featured: false
status: "active"
---

# Job Title

## Over de functie
[Description]

## Wat ga je doen?
[Responsibilities]

## Wat breng je mee?
[Requirements]

## Wat bieden wij?
[Benefits]

## Over [Company]
[Company info]

Flextender Integration (Future)

Based on research, Flextender is a Dutch platform for government contractor matching. Integration possibilities:

  • API integration to pull government opportunities
  • Link to Flextender platform for government roles
  • Separate section for public sector opportunities

Security Notes

  • Current admin uses client-side authentication (MVP only)
  • For production: Implement proper server-side auth
  • Protect admin routes on server level
  • Use environment variables for sensitive data

Monitoring & Analytics

Consider adding:

  • Google Analytics
  • Contact form submissions tracking
  • Job application metrics

Backup Strategy

  • Regular backups of markdown files
  • Version control with Git
  • Database backup if moving to dynamic system

Performance Optimization

  • Images optimization
  • CDN usage
  • Caching headers
  • Minification (handled by Astro build)

Reacties

Nog geen reacties