Charles N Wyble 4d95a843ad feat(scripts): add sync.sh script for two-way synchronization
- Create comprehensive sync script for handling admin UI and git changes
- Add support for sync down (production to local after admin edits)
- Add support for sync up (local to production after git edits)
- Include status checking and conflict detection
- Add test command for local development
- Provide clear usage instructions and error handling

Note: This script is for future two-way sync workflow. Currently using
simplified git-only workflow since production is fresh install.

💘 Generated with Crush

Assisted-by: GLM-4.7 via Crush <crush@charm.land>
2026-01-13 16:45:49 -05:00

Starting Line Productions LLC Website

A Grav CMS-based website for Starting Line Productions LLC, a prototyping job shop in Pflugerville, Texas that rents resources and spaces by the hour.

Setup

Prerequisites

  • Docker installed
  • linuxserver/grav Docker image (version 1.7.49)

Running the Site

Start the development server:

docker compose up -d

The site will be available at: http://localhost:5001

To stop the server:

docker compose down

Editing Content

Content is stored in config/www/user/pages/ as Markdown files with YAML front matter.

  • Homepage: config/www/user/pages/01.home/default.md
  • Resources: config/www/user/pages/02.resources/default.md
  • Contact: config/www/user/pages/03.contact/default.md

Configuration

  • Site settings: config/www/user/config/site.yaml
  • System settings: config/www/user/config/system.yaml

Deployment to Production

This repository is designed to be synced to a production instance via git.

  1. Commit your changes
  2. Push to your remote repository
  3. Pull on the production server
  4. Restart the Grav container on production

Project Structure

STLPWebsite/
├── config/              # Grav configuration and content (mapped volume)
│   └── www/
│       └── user/
│           ├── pages/   # Page content (Markdown files)
│           └── config/  # Configuration files
├── docker-compose.yml   # Docker service configuration
└── .gitignore          # Files excluded from version control

Important Notes

  • The config/www/user/cache/, config/www/user/logs/, and config/www/user/backup/ directories are excluded from version control
  • Changes to pages and configuration are immediately reflected in the running container
  • Clear the cache in the Grav admin panel or manually if changes don't appear
Description
No description provided
Readme 16 MiB
Languages
JavaScript 48.5%
PHP 16.8%
CSS 13.2%
SCSS 11%
Twig 10.1%
Other 0.4%