Just my personal website, built in PHPStatic.
You can either install the website directly or use Docker.
Install the website from GitHub.
- Clone this repository and
cd
into it
git clone https://github.com/SebaOfficial/racca.me.git && cd racca.me
- Update Dependencies and build the website
composer update
composer build
- Start a web server
Nginx Example:
server { listen 80; listen [::]:80; index index.html index.php; server_name localhost; # Replace with your server name root /path/to/racca.me/dist/; # Replace with the actual path location / { try_files $uri $uri/ $uri.html @php; } location @php { rewrite ^(.*)$ $1.php last; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } location ~* 404 { return 404; } error_page 404 404.html; }
You can also download and run the website using Docker.
- Pull the Docker image from Docker Hub:
docker pull sebaofficial/racca.me
- Run the Docker image:
docker run -d -p 80:80 sebaofficial/racca.me