The goonblog's CMS

Adam 236f1d2f2f docs: expand README with detailed information 3 tháng trước cách đây
backend 32f1a05c57 Merge branch 'main' of https://github.com/theVakhovskeIsTaken/gooneral-wheelchair 3 tháng trước cách đây
public a9a72d913d content: add content to hey-there post 3 tháng trước cách đây
src 7ede690377 refactor: reformat backend server and remove old post 3 tháng trước cách đây
.gitignore abc74b9ada Initial code 5 tháng trước cách đây
Caddyfile 7ca25bc335 feat: add comprehensive deployment configuration and scripts 4 tháng trước cách đây
README.md 236f1d2f2f docs: expand README with detailed information 3 tháng trước cách đây
eslint.config.js abc74b9ada Initial code 5 tháng trước cách đây
index.html 12d12eeb7f Move to local tailwind and fix spoilers 5 tháng trước cách đây
package-lock.json 7ca25bc335 feat: add comprehensive deployment configuration and scripts 4 tháng trước cách đây
package.json 7ca25bc335 feat: add comprehensive deployment configuration and scripts 4 tháng trước cách đây
vite.config.js 866997852d Add proper post updating + admin panel 4 tháng trước cách đây

README.md

The gooneral wheelchair.

This is my CMS. Why? Because I can.

Set-up:

  1. install the actual cms page:

    npm install
    npm run build
    
  2. install and host backend:

    cd backend
    npm install
    

make systemd unit:

[Unit]
Description=Gooneral Wheelchair CMS Backend
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/var/www/gooneral-wheelchair/backend
Environment=NODE_ENV=production
ExecStart=/usr/bin/node start-production.js
Restart=always
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=gooneral-wheelchair

[Install]
WantedBy=multi-user.target
  1. host your websoot:

    goonblog.thevakhovske.eu.org {
    root * /var/www/gooneral-wheelchair/dist
    encode gzip zstd
    file_server
    
    # API routes - proxy to backend
    handle /api/* {
        reverse_proxy localhost:3001
    }
    
    # Health check endpoint
    handle /health {
        reverse_proxy localhost:3001
    }
    }
    

rat sex 👍