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:
Build the site:
npm run build
Upload contents of dist/ folder to your web hosting
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:
- Install Node.js on VPS
- Clone repository
- Install dependencies:
npm install
- Build:
npm run build
- 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:
GloryLabs B.V. (Parent)
- Strategic consultancy services
- Website:
glorylabs.nl
[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:
- Register new handelsnaam with KvK
- Set up separate branding/domain if desired
- Update website footer and legal pages
Content Management (MVP Style)
Adding New Jobs:
- Create new
.md file in src/content/jobs/
- Follow existing template format
- Rebuild and redeploy site
- 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