- Set up Docker Compose configuration for Grav CMS - Configure site for Starting Line Productions LLC in Pflugerville, Texas - Create homepage with business overview and service highlights - Create resources page with equipment and workspace pricing tables - Create contact page with booking information - Configure proper .gitignore for cache and temporary files 💘 Generated with Crush Assisted-by: GLM-4.7 via Crush <crush@charm.land>
68 lines
1.9 KiB
Markdown
68 lines
1.9 KiB
Markdown
# 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:
|
|
|
|
```bash
|
|
docker compose up -d
|
|
```
|
|
|
|
The site will be available at: http://localhost:5001
|
|
|
|
To stop the server:
|
|
|
|
```bash
|
|
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
|