The goonblog's CMS

Adam a65ea0ef61 Fix 69420.2 1 月之前
backend a65ea0ef61 Fix 69420.2 1 月之前
public a65ea0ef61 Fix 69420.2 1 月之前
src a65ea0ef61 Fix 69420.2 1 月之前
.gitignore 78c97a6ef9 Fix 69420.1 1 月之前
Caddyfile a65ea0ef61 Fix 69420.2 1 月之前
README.md 5681c538ae docs: simplify README 3 月之前
eslint.config.js abc74b9ada Initial code 5 月之前
index.html 2a681e8f74 Fix 69420 1 月之前
package-lock.json a65ea0ef61 Fix 69420.2 1 月之前
package.json a65ea0ef61 Fix 69420.2 1 月之前
vite.config.js 866997852d Add proper post updating + admin panel 4 月之前

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:

add:

import cock_location/gooneral-wheelchair/Caddyfile

to your caddyfile

  1. rat sex 👍