Miranj Craft Boilerplate
A Craft CMS 3 starter project based on Miranj's project boilerplate. It includes:
- Our modular templating architecture.
- A Gulp based build process that uses
- Server configuration files for Apache (dev) and Nginx (staging, production).
- A few Craft plugins, along with their config files:
Usage
-
Open your terminal and run the following command:
composer create-project miranj/craft-boilerplate /path/to/project "dev-master"
-
Replace instances of "miranj/craft-boilerplate" and "boilerplate" with the handle of the new project in the following locations:
composer.json
assets/package.json
config/app.php
src/Module.php
serverconfigs/envs/production/env.conf
serverconfigs/envs/production/setup.conf
serverconfigs/envs/staging/env.conf
serverconfigs/envs/staging/setup.conf
-
Replace instances of "Miranj Craft Boilerplate" / and "Boilerplate" with the title of the new project.
-
Inspect all FIXME comments in the project and take necessary action.
-
Assign values to all shared environment variables in .env.example.
-
Run
composer dump-autoload