Bitesize Cúrsaí
Custom WordPress plugin for Bitesize Irish Cúrsaí membership site
by Bitesize Irish · github.com/bitesizeirish/bitesize-cursai-plugin · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/bitesizeirish/bitesize-cursai-plugin/archive/refs/heads/main.zipBitesize Cúrsaí Plugin
A custom WordPress plugin for the Bitesize Irish Cúrsaí membership site.
About
This plugin provides custom functionality and features for the Cúrsaí platform at cursai.bitesize.irish, which offers Irish language lessons through a membership-based model.
Installation
- Upload the plugin files to the
/wp-content/plugins/bitesize-cursai-plugindirectory - Activate the plugin through the 'Plugins' screen in WordPress
Development
Setup
- Clone the repository
- Run
npm installto install build dependencies - Run
composer installfor PHP dependencies (optional) - Copy
env.exampleto.envand configure for your environment
Building
# Build for production (auto-increments version)
npm run build
# Run PHP syntax check
npm run lint:php
# Create deployment ZIP
npm run zip
Deployment
The plugin includes automated deployment to SiteGround:
- Configure your
.envfile with server credentials - Run the deployment script:
# Full deployment (build + deploy)
./deploy.sh
# Build only (no deploy)
./deploy.sh --build-only
# Deploy only (assumes already built)
./deploy.sh --deploy-only
# Show current configuration
./deploy.sh --config
The deployment script will:
- Run PHP syntax checks
- Auto-increment version numbers
- Build assets
- Create deployment ZIP
- Auto-commit version changes
- Deploy to production via SSH
- Run health checks
Version Management
Version numbers are automatically managed:
npm run buildincrements the patch version- Updates
package.json,bitesize-cursai-plugin.php - Creates versioned ZIP file in
dist/
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Node.js 14+ (for development)
- Composer (optional, for PHP dependencies)
License
GPL v2 or later
Support
For support, please contact Bitesize Irish.