|
|
||
|---|---|---|
| .. | ||
| images | ||
| includes | ||
| one-pager-tools | ||
| resumes | ||
| stories | ||
| tests | ||
| Caddyfile | ||
| Caddyfile.local | ||
| Dockerfile | ||
| Dockerfile.production | ||
| README.md | ||
| caddy.log | ||
| caddy.sh | ||
| consulting-packs.html | ||
| csv-tool-output.html | ||
| favicon.svg | ||
| generate-pdfs.js | ||
| generate-sitemap.sh | ||
| includes.js | ||
| index.html | ||
| inline-style.txt | ||
| markdown-loader.js | ||
| matomo.js | ||
| package.json | ||
| papaparse.min.js | ||
| sitemap.xml | ||
| styles.css | ||
| template-with-includes.html | ||
| test-csv-tool.sh | ||
| test-matomo.sh | ||
| theme.js | ||
| update-all.sh | ||
| update-csp-hashes.sh | ||
| update-nav-from-sitemap.js | ||
| update-stories-page.js | ||
| utils.js | ||
README.md
Resume Website
Initial Setup
After cloning the repository, run the setup script from the repository root to install git hooks:
./setup-git-hooks.sh
This installs a pre-push hook that automatically generates PDFs before pushing.
Local Development
To run the local development server:
- Navigate to the
docker/resumedirectory - Use the unified Caddy management script:
./caddy.sh start # Start the server ./caddy.sh stop # Stop the server ./caddy.sh restart # Restart the server ./caddy.sh status # Check server status - Open http://localhost:8080 in your browser
Important Notes
- Always use the
caddy.shscript to manage the server - Do not run Caddy directly from other directories
Content Security Policy (CSP)
When adding new scripts or styles, you need to update the CSP hashes:
- Make your changes to JS/CSS files
- Run the update script:
./update-csp-hashes.sh - Restart the server using
./caddy.sh restart
Tools
- CSV Viewer: A tool for viewing CSV data in tabular format
- Available at http://localhost:8080/one-pager-tools/csv-tool.html
- Simply paste CSV data to view it as a formatted table