1.5 KiB
1.5 KiB
codevisoft.com
Static about/portfolio page for Codevisoft (Paweł Szudarek), meant to be hosted on a Raspberry Pi.
Structure
index.html— page contentstyles.css— stylingscript.js— small footer-year scriptimages/— logo assets
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.