refactor: simplify deployment for existing Apache Docker container
- Move web files to www/ directory for easy copying to data folder - Remove Docker setup since user has existing Apache container - Add custom 404.html page - Update README with simple deployment instructions - Keep CGI script as optional bonus feature
This commit is contained in:
75
README.md
75
README.md
@@ -1,7 +1,7 @@
|
||||
# IT'S FUCKING DUSTIN'S FAULT — OFFICIAL BLAME PORTAL
|
||||
|
||||
## Overview
|
||||
The most offensive, hilarious, and utterly ridiculous website ever created. A Docker-hosted Apache monstrosity that blames everything on Dustin with maximum crassness and zero fucks given.
|
||||
The most offensive, hilarious, and utterly ridiculous website ever created. A hilariously crass single-page application that blames everything on Dustin with maximum crassness and zero fucks given.
|
||||
|
||||
**Live Demo:** [itsdustinsfault.com](https://itsdustinsfault.com) (once deployed)
|
||||
|
||||
@@ -10,66 +10,49 @@ The most offensive, hilarious, and utterly ridiculous website ever created. A Do
|
||||
- **OFFICIAL BLAME SUBMISSION FORM**: File your own reports of Dustin's latest bullshit
|
||||
- **DUSTIN'S APOLOGY GENERATOR™**: Generates bullshit apologies with sincerity ratings
|
||||
- **NUCLEAR OPTION**: Attempt to fire Dustin (spoiler: it won't work)
|
||||
- **SOUND EFFECTS & ANIMATIONS**: Beeps, glitches, and rage meters
|
||||
- **COWSAY CGI INTERFACE**: Because why not have a CGI script that blames Dustin using cowsay?
|
||||
- **MYSLQL DATABASE**: Tracks all of Dustin's sins in a proper database
|
||||
- **PHPMyAdmin**: View the database of Dustin's eternal damnation
|
||||
- **RIDICULOUS STATS**: Fuckup counters, rage meters, and fake uptime percentages
|
||||
- **EASTER EGGS**: Click if you actually like Dustin (you monster)
|
||||
- **SOUND EFFECTS & ANIMATIONS**: Beeps, glitches, and rage meters
|
||||
- **RIDICULOUS STATS**: Fuckup counters, rage meters, and fake uptime percentages
|
||||
- **TERMINAL-STYLE UI**: Retro green-on-black with CRT scanlines
|
||||
|
||||
## Tech Stack (Overkill Edition)
|
||||
- **Docker & Docker Compose**: Full containerized deployment
|
||||
- **Apache HTTPD**: Serving static files and CGI scripts
|
||||
- **MySQL**: Database of Dustin's eternal sins
|
||||
- **PHPMyAdmin**: Admin interface for viewing Dustin's fuckups
|
||||
## Tech Stack
|
||||
- **Vanilla HTML/CSS/JS**: No frameworks, because Dustin would fuck that up too
|
||||
- **Web Audio API**: For obnoxious sound effects
|
||||
- **Cowsay & Fortune**: CGI scripts because we're living in 1995
|
||||
- **Single `index.html` file**: Everything in one gloriously offensive package
|
||||
|
||||
## Deployment
|
||||
Simply copy the contents of the `www/` directory to your web server's document root (maps to `/var/www/html` in your Apache container).
|
||||
|
||||
## Docker Deployment
|
||||
```bash
|
||||
# Start the entire blame ecosystem
|
||||
docker-compose up -d
|
||||
# Copy files to your data directory that maps to /var/www/html
|
||||
cp -r www/* /path/to/your/data/directory/
|
||||
|
||||
# Access the main site
|
||||
# http://localhost:8080
|
||||
# Or if your data folder is already set up:
|
||||
rsync -av www/ /path/to/your/data/folder/
|
||||
```
|
||||
|
||||
# Access phpMyAdmin (to view Dustin's sins)
|
||||
# http://localhost:8081
|
||||
# Username: dustin
|
||||
# Password: blame_me
|
||||
## File Structure
|
||||
```
|
||||
www/
|
||||
├── index.html # The main blame portal (everything)
|
||||
├── 404.html # Custom error page blaming Dustin
|
||||
└── cgi-bin/
|
||||
└── blame-dustin.cgi # Optional CGI script (if your server supports it)
|
||||
```
|
||||
|
||||
## Local Development
|
||||
```bash
|
||||
# Just open in browser (for cowards)
|
||||
open index.html
|
||||
# Just open in browser
|
||||
open www/index.html
|
||||
|
||||
# Or run the full Docker stack
|
||||
docker-compose up
|
||||
# Or serve locally
|
||||
cd www && python -m http.server 8000
|
||||
```
|
||||
|
||||
## Architecture
|
||||
```
|
||||
dustins-fault-website/
|
||||
├── index.html # The main blame portal
|
||||
├── Dockerfile # Apache container with cowsay & fortune
|
||||
├── docker-compose.yml # Full stack with MySQL & phpMyAdmin
|
||||
├── cgi-bin/
|
||||
│ └── blame-dustin.cgi # CGI script for cowsay blaming
|
||||
├── mysql-init/
|
||||
│ └── 01-init.sql # Database schema & sample fuckups
|
||||
├── logs/ # Apache logs
|
||||
├── mysql-data/ # Persistent database storage
|
||||
└── README.md # This file
|
||||
```
|
||||
|
||||
## Database Schema
|
||||
The MySQL database tracks:
|
||||
- Individual fuckups with severity levels
|
||||
- Dustin's bullshit apologies
|
||||
- Blame statistics and mood tracking
|
||||
- Automated daily fuckup insertion
|
||||
## Customization
|
||||
- Edit `www/index.html` to add more incidents, change names, or increase the offensiveness
|
||||
- Modify the apology generator with more creative bullshit
|
||||
- Add your own sound effects or animations
|
||||
|
||||
## Contributing
|
||||
1. Think of something even more offensive
|
||||
|
||||
Reference in New Issue
Block a user