2017 © Pedro Peláez
 

project craft-starter

Craft 3 CMS boilerplate project

image

burkhardmeyer/craft-starter

Craft 3 CMS boilerplate project

  • Monday, May 28, 2018
  • by burkhardmeyer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 22 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 5 % Grown

The README.md

Craft 3 Boilerplate

This is an alternate boilderplate package for Craft 3 CMS projects., (*1)

It builds on Pixel & Tonic's canonical craftcms/craft package and NYStudio's craft setup nystudio107/craft, (*2)

Assumptions Made

  • Gulp is used as a the frontend workflow automation tool
  • Tailwind CSS is used as the utility-first CSS framework
  • Apache is used as the web server
  • Critical CSS is used site-wide
  • FontFaceObserver is used for font loading
  • Craft-Scripts are used for db/asset synching
  • Craft 3 Multi-Environment is used for the Craft 3 multi-environment setup
  • Modernizr is used for fallback solutions (e.g. CSS Grid)

Using burkhardmeyer/craft-starter

This project package works exactly the way Pixel & Tonic's craftcms/craft package works; you create a new project by first creating & installing the project:, (*3)

composer create-project burkhardmeyer/craft-starter PATH -s RC

Make sure that PATH is the path to your project, including the name you want for the project, e.g.:, (*4)

composer create-project burkhardmeyer/craft-starter craft3 -s RC

Then cd to your new project directory, and run Craft's setup console command to create your .env environments and optionally install:, (*5)

cd PATH
./craft setup

Finally, run the nys-setup command to configure Craft-Scripts & Craft 3 Multi-Environment based on your newly created .env settings:, (*6)

./nys-setup

That's it, enjoy!, (*7)

If you ever delete the vendor folder or such, just re-run:, (*8)

./nys-setup

...and it will re-create the symlink to your .env.sh; don't worry, it won't stomp on any changes you've made., (*9)

The Versions