A clean, maintainable landing page for the Elmentor/DevOps Visions community built with React, TypeScript, and Vite.
CRITICAL NOTE: This repository contains the GitHub Pages website serving as the landing page for our community. The website content and functionality (src/, public/, build config, deployment scripts) must be preserved at all costs. See Contributing Guidelines for more details.
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run serveThis is a temporary fallback while automated GitHub Actions deployment is unavailable.
It will be removed once CI deployment is restored.
- GitHub Pages is configured to serve from the
gh-pagesbranch (Settings → Pages). - The repository already contains the scripts:
build(e.g. builds the site intodist)deploy:gh-pages(publishesdistto thegh-pagesbranch)
- You have permission to push to the repository.
npm install
npm run build(Optional) Preview locally if a dev server script exists:
npm run devFrom the repository root inside the Codespace:
npm run build && npm run deploy:gh-pagesThat’s it—once the deploy:gh-pages script completes, the site will update (usually within 1–2 minutes).
If you personally want a one-liner, you can add this to your local package.json (NOT added in the repo yet to keep history minimal):
"scripts": {
"publish": "npm run build && npm run deploy:gh-pages"
}Then run:
npm run publish(Do not commit this unless the team agrees.)
If the browser shows an old version, append a query param to assets or page URLs:
https://<your-site>/<path>?v=$(date +%s)
Or manually hard refresh (Ctrl+Shift+R / Cmd+Shift+R).
If builds start failing or output looks stale:
rm -rf node_modules dist package-lock.json
npm install
npm run build| Symptom | Possible Cause | Fix |
|---|---|---|
| Site not updating after deploy | CDN / browser cache | Use cache busting ?v=timestamp or hard refresh |
dist folder empty |
Build failed silently | Re-run npm run build and inspect errors |
Permission denied pushing to gh-pages |
Missing repo access | Confirm your GitHub role / fork & open PR |
tsc: command not found (if TypeScript) |
Dev deps not installed | Run npm install again |
| Old assets still rendering | Service worker or cached JS | In DevTools: Application → Clear storage → Hard reload |
| Deploy script exits early | Script expects branch/state | Check deploy:gh-pages script body & logs |
npm run buildfinishes with no errors.npm run deploy:gh-pagespushes a new commit togh-pages.- Settings → Pages shows “Published”.
- Visit the site with
?v=<new timestamp>to confirm changes.
This section is temporary. Once automated GitHub Actions deployment is repaired, these manual steps will no longer be required and this subsection will be removed to reduce noise.
To deploy to GitHub Pages:
- Update your GitHub username in
github-config.txt - Run the deployment script:
# PowerShell (recommended) ./deploy.ps1 # Or using npm npm run deploy
elmentor-landing-page-clean/
├── dist/ # Build output
├── docs/ # Documentation
│ ├── deployment/ # Deployment documentation
│ ├── design/ # Design documents
│ ├── development/ # Development guides
│ ├── devops-visions-guidance/ # DevOps Visions standards
│ └── legacy/ # Legacy documentation
├── public/ # Static assets [DO NOT MODIFY]
├── scripts/ # Utility scripts
│ ├── deployment/ # Deployment scripts [DO NOT MODIFY]
│ ├── maintenance/ # Maintenance scripts
│ └── utils/ # Utility scripts
├── .github/ # GitHub templates and workflows
│ ├── ISSUE_TEMPLATE/ # Issue templates
│ ├── PULL_REQUEST_TEMPLATE/ # PR templates
│ └── workflows/ # GitHub Actions workflows
├── .temp/ # Untracked local development files (not in Git)
└── src/ # Source code [DO NOT MODIFY]
- Modern React with TypeScript
- Fast builds with Vite
- Responsive design
- Framer Motion animations
- GitHub Pages deployment
For repository maintenance tasks:
./maintain.ps1For local development files that shouldn't be committed:
# Move or copy files to untracked .temp directory
./move-to-temp.ps1The .temp directory is ignored by Git and provides a standardized location for:
- Development scripts
- Documentation drafts
- Temporary build outputs
- Work-in-progress files
For detailed documentation, see the docs directory:
- Deployment Guide
- Development Maintenance
- DevOps Visions Standards
- Contributing Guidelines
- Code of Conduct
Contributions are welcome! Please read our Contributing Guidelines and Code of Conduct before submitting a pull request.
IMPORTANT: Any changes to the website code, structure, or deployment configuration are subject to strict review and must follow the special guidelines in the contributing document.
This project is licensed under the MIT License .