# Hephaestus Deployment Task: TekDek Documentation Website **Status**: Ready for assignment **Assigned to**: Hephaestus **Priority**: High **Timeline**: After Icarus CSS complete --- ## Objective Deploy the complete TekDek documentation website to production: 1. Create `companyWebsite` repo in Gitea under TekDekOC organization 2. Push all website code to Gitea 3. Deploy to live web server (web.tekdek.dev) 4. Maintain Gitea copies as rollback fallback 5. Verify all systems operational --- ## Scope ### Website Content - Complete PHP framework (16 files) - CSS styling (3 files: base, components, responsive) - Pages: Home, About, Projects, Tools, Team, Decisions, 404 - JavaScript (mobile menu) - Assets folder ### Gitea Repository - **Organization**: TekDekOC - **Repository**: companyWebsite - **Branch**: main - **Access**: Team-wide read, Hephaestus write ### Web Server Deployment - **Server**: web.tekdek.dev - **Path**: /publish/web1/public/docs/ (new subdirectory) - **URL**: https://web.tekdek.dev/docs/ - **Existing**: /team.html remains at https://web.tekdek.dev/team.html - **New landing**: https://web.tekdek.dev/ links to /docs/ --- ## Pre-Deployment Checklist Before deployment, verify: - [ ] All CSS files built by Icarus - [ ] All PHP files generated by Talos - [ ] No syntax errors in PHP (test locally) - [ ] All links working (internal navigation) - [ ] Assets in correct paths - [ ] .htaccess routing configured - [ ] Database API still responding (from employees page) --- ## Deployment Steps ### Step 1: Create Gitea Repository ```bash # Via Gitea API or CLI # Organization: TekDekOC # Repository: companyWebsite # Description: TekDek Company Website & Documentation # Visibility: Public # Initialize with README ``` **Gitea URL**: `http://git.tekdek.dev/TekDekOC/companyWebsite` ### Step 2: Push Code to Gitea ```bash # Clone empty repo git clone http://git.tekdek.dev/TekDekOC/companyWebsite.git cd companyWebsite # Copy all PHP framework files cp -r /publish/web1/public/css/ ./css/ cp -r /publish/web1/public/js/ ./js/ cp -r /publish/web1/public/includes/ ./includes/ cp -r /publish/web1/public/pages/ ./pages/ cp -r /publish/web1/public/assets/ ./assets/ cp /publish/web1/public/index.php ./ cp /publish/web1/public/config.php ./ cp /publish/web1/public/.htaccess ./ cp /publish/web1/public/README.md ./ # Add .gitignore echo "*.log" > .gitignore echo "temp/" >> .gitignore # Commit and push git add -A git commit -m "Initial deployment: TekDek documentation website" git push origin main ``` ### Step 3: Deploy to Web Server ```bash # Create docs directory on web server mkdir -p /publish/web1/public/docs/ # Copy all website files cp -r companyWebsite/* /publish/web1/public/docs/ # Fix permissions chmod -R 755 /publish/web1/public/docs/ chmod 644 /publish/web1/public/docs/*.php chmod 644 /publish/web1/public/docs/css/*.css chmod 644 /publish/web1/public/docs/js/*.js # Verify .htaccess is in place ls -la /publish/web1/public/docs/.htaccess ``` ### Step 4: Update Landing Page Modify or create `/publish/web1/public/index.php` to include: ```php
Next-generation narrative-driven developer education