Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

403 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deploy lint backup data directory dev data

fridge.dev

source for https://fridge.dev.

this is a plain PHP website with file-backed runtime data. there is no database. the repo contains source code, templates, assets, tools, and docs; production content/state lives in /data, which is intentionally ignored by git.

Fresh Clone Setup

requirements:

  • PHP 8.3 or newer
  • Node.js 18 or newer

clone and serve locally:

git clone https://github.com/ashprids/fridge.dev.git
cd fridge.dev
php -S localhost:8000

then open:

http://localhost:8000

Runtime Data

the site expects a local data/ directory. without it, static-ish pages may load, but anything backed by posts, accounts, music, images, guestbook entries, chat, or Toast state will be missing or weird.

download a sanitized developer copy from the public Google Drive folder: https://drive.google.com/drive/folders/1dltxdqQjfUfGwEEXVxUrOw5fuv9nk_ex.

unzip one of the archives into the repo root so it creates:

data/

the developer copy is generated daily from production /data, scrubbed for private content, and kept as a rolling set of 10 archives. setup details live in Developer Data.

Useful Commands

bash scripts/lint-php.sh
bash scripts/lint-javascript.sh
bash scripts/lint-css.sh

Deployment

pushes to main deploy to /var/www/fridge.dev through GitHub Actions using rsync over SSH. deployment excludes runtime data, so /data is managed separately from git.

production /data backups and sanitized developer copies are handled by separate scheduled GitHub Actions workflows.

Docs

developer docs live in wiki/. start with:

the website also exposes the wiki at https://fridge.dev/wiki.

About

Official update repository for fridge.dev

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages