2017 © Pedro Peláez
 

project craft

Marbles Craft 3 CMS scaffolding project

image

marbles/craft

Marbles Craft 3 CMS scaffolding project

  • Monday, May 21, 2018
  • by Rias500
  • Repository
  • 1 Watchers
  • 24 Stars
  • 53 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 20 Forks
  • 0 Open issues
  • 25 Versions
  • 4 % Grown

The README.md

Marbles     Craft CMS , (*1)

About marbles/craft

This is an alternate scaffolding package for Craft 3 CMS projects to Pixel & Tonic's canonical craftcms/craft package based on nystudio107/craft., (*2)

In addition to setting up a new Craft 3 CMS project, this project sets up:, (*3)

...and sets up some other base scaffolding as described to the following articles:, (*4)

It also installs a few base plugins that we use on every project., (*5)

Assumptions Made

Since this is boilerplate that Marbles uses for projects, it is by definition opinionated, and has a number of assumptions:, (*6)

  • Laravel Mix is used as a the frontend workflow automation tool
  • Vue is used as the frontend JavaScript framework, with Axios providing the http client
  • Tailwind CSS is used as the utility-first CSS framework
  • Critical CSS is used site-wide
  • Craft-Scripts are used for db/asset synching
  • Craft 3 Multi-Environment is used for the Craft 3 multi-environment setup

Obviously you're free to remove whatever components you don't need/want to use., (*7)

Using marbles/craft

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:, (*8)

composer create-project marbles/craft PATH

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

composer create-project marbles/craft craft3

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

cd PATH
./craft setup

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

./marbles-setup

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

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

./marbles-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., (*14)

Below is the entire intact, unmodified README.md from Pixel & Tonic's craftcms/craft:, (*15)

....., (*16)

About Craft CMS

Craft is a flexible and scalable CMS for creating bespoke digital experiences on the web and beyond., (*17)

It features:, (*18)

Learn more about it at craftcms.com., (*19)

Tech Specs

Craft is written in PHP (7+), and built on the Yii 2 framework. It can connect to MySQL (5.5+) and PostgreSQL (9.5+) for content storage., (*20)

Installation

See the following documentation pages for help installing Craft 3:, (*21)

Resources

Official Resources

  • Documentation – Everything from usage instructions to plugin guides.
  • Class Reference – Full API and class reference for plugin and module developers.
  • Demo site – Quickly launch a personalized demo of a Craft site.
  • Craft Slack – Join one of the most friendly and helpful Slack groups around.
  • Craft Commerce – First-party e-commerce platform for Craft.

Community Resources

The Versions