4e84b584e1b4442938a9a6ecd447d491628dc857
- Add merge-to-production.sh to merge dev to production (content only) - Script removes non-content files (config, scripts, docs, Docker) - Production branch contains ONLY: pages, themes, content plugins - Updated .gitignore to exclude sensitive and dev-only files - Exclude security.yaml (salt) from being tracked - Exclude vendor directories (can be installed via GPM) - Exclude Docker, nginx, PHP configs (production content only) - Exclude scripts and documentation (production content only) - Exclude git hooks (local only) Production Branch Strategy: - Dev: Full repository (config, content, scripts, docs) - Production: Content only (pages, themes, plugins) - Merge: Automated via script removes non-content - Security: Sensitive configs stay in dev 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
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.
- Commit your changes
- Push to your remote repository
- Pull on the production server
- 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/, andconfig/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
Languages
JavaScript
48.5%
PHP
16.8%
CSS
13.2%
SCSS
11%
Twig
10.1%
Other
0.4%