0780108380adcdc741a9d65cd50596441a7f758f
codevisoft.com
Static about/portfolio page for Codevisoft (Paweł Szudarek), meant to be hosted on a Raspberry Pi.
Structure
index.html— page contentmaterials.html— downloadable talk/workshop materials (slides, project files)styles.css— stylingscript.js— small footer-year scriptimages/— logo assetsmaterials/<talk-name>/— one folder per talk, holding itsslides.pdfandproject.zip
No build step — plain static files.
Deploying on the Raspberry Pi (nginx)
- Install nginx if not already installed:
sudo apt update && sudo apt install nginx - Copy the site files to the web root, e.g.:
sudo mkdir -p /var/www/codevisoft sudo cp -r index.html styles.css script.js images /var/www/codevisoft/ - Create an nginx server block, e.g.
/etc/nginx/sites-available/codevisoft:server { listen 80; server_name codevisoft.com www.codevisoft.com; root /var/www/codevisoft; index index.html; } - Enable it and reload nginx:
sudo ln -s /etc/nginx/sites-available/codevisoft /etc/nginx/sites-enabled/ sudo nginx -t sudo systemctl reload nginx - Point your router's port forwarding (80/443) and DNS
Arecord forcodevisoft.comat your public IP, or use a tunnel (e.g. Cloudflare Tunnel) if you don't want to expose the Pi directly. - For HTTPS, use
certbot(sudo apt install certbot python3-certbot-nginx) once DNS is pointed at the Pi.
Editing content
Edit index.html directly — sections are marked About, Portfolio, and Contact. Update the email address, portfolio entries, and links as needed.
Adding a new set of materials
- Create a folder under
materials/, e.g.materials/my-talk/. - Drop the files in it, e.g.
slides.pdfandproject.zip. - Add a
<article class="card">entry inmaterials.htmlwith download links pointing at those files (copy an existing card as a template).
Languages
HTML
69.6%
CSS
29.6%
JavaScript
0.8%