initial page

This commit is contained in:
2026-08-31 21:49:20 +02:00
commit cb65b574f9
10 changed files with 308 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
# codevisoft.com
Static about/portfolio page for Codevisoft (Paweł Szudarek), meant to be hosted on a Raspberry Pi.
## Structure
- `index.html` — page content
- `styles.css` — styling
- `script.js` — small footer-year script
- `images/` — logo assets
No build step — plain static files.
## Deploying on the Raspberry Pi (nginx)
1. Install nginx if not already installed:
```
sudo apt update && sudo apt install nginx
```
2. 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/
```
3. 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;
}
```
4. Enable it and reload nginx:
```
sudo ln -s /etc/nginx/sites-available/codevisoft /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl reload nginx
```
5. Point your router's port forwarding (80/443) and DNS `A` record for `codevisoft.com` at your public IP, or use a tunnel (e.g. Cloudflare Tunnel) if you don't want to expose the Pi directly.
6. 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.