forked from colin/resume
- Added SHA256 hash for Matomo inline script to CSP - Hash: sha256-aSi4/F2xxTg7cs3QbVq7ncUMa1ivQeVC8umnPRDtFyM= - This should allow the Matomo tracking script to execute properly - Updated all HTML files with new CSP headers |
||
|---|---|---|
| .. | ||
| images | ||
| includes | ||
| one-pager-tools | ||
| stories | ||
| tests | ||
| Caddyfile | ||
| Caddyfile.local | ||
| Dockerfile | ||
| Dockerfile.production | ||
| README.md | ||
| apple-touch-icon.png | ||
| caddy.log | ||
| caddy.sh | ||
| convert-favicon.sh | ||
| convert-to-includes.js | ||
| csv-tool-output.html | ||
| favicon-16x16.png | ||
| favicon-32x32.png | ||
| favicon.ico | ||
| favicon.svg | ||
| generate-favicon.js | ||
| generate-sitemap.sh | ||
| includes.js | ||
| index-with-includes.html | ||
| index.html | ||
| inline-style.txt | ||
| papaparse.min.js | ||
| sitemap.xml | ||
| styles.css | ||
| template-with-includes.html | ||
| test-csv-tool.sh | ||
| theme.js | ||
| update-all.sh | ||
| update-csp-hashes.sh | ||
| update-favicon.js | ||
| update-nav-from-sitemap.js | ||
| update-stories-page.js | ||
| utils.js | ||
README.md
Resume Website
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