2017 © Pedro Peláez
 

project craft

pennebaker Craft 3 CMS scaffolding project

image

pennebaker/craft

pennebaker Craft 3 CMS scaffolding project

  • Wednesday, July 4, 2018
  • by spAnser
  • Repository
  • 3 Watchers
  • 5 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 19 Versions
  • 11 % Grown

The README.md

About pennebaker/craft

This is an alternate scaffolding package for Craft 3 CMS projects to nystudio107's canonical nystudio107/craft package., (*1)

Brew Packages

nystudio107's ImageOptimize plugin may need some additional packages installed on OSX for valet to function., (*2)

brew install jpegoptim optipng svgo gifsicle pngquant pngcrush webp

Using pennebaker/craft

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

composer create-project pennebaker/craft PATH

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

composer create-project pennebaker/craft craft3

Create your dev database locally (ex. yoursite_cmsdb_dev) and use that database name for the next step., (*5)

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

cd PATH
./craft setup

Copy your local database name (ex. yoursite_cmsdeb_dev) into pen-setup under the section LOCAL_DB_NAME and set default to yoursite_cmsdb_dev., (*7)

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

./pen-setup

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

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

./pen-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., (*11)

Valet Setup

valet link domain
valet secure domain

Yarn

For local gulp development use:, (*12)

yarn start

For production build use:, (*13)

yarn build

Below is the entire intact, slightly modified README.md from nystudio107's nystudio107/craft:, (*14)

† Removed line about tailwindcss, (*15)

....., (*16)

About nystudio107/craft

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

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

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

It also installs a few base plugins that I use on every project. You can read more about it in the Setting up a New Craft 3 CMS Project article., (*20)

Assumptions Made

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

  • Gulp is used as a the frontend workflow automation tool
  • Vue is used as the frontend JavaScript framework, with Axios providing the http client
  • Nginx with ssi on; is used as the web server
  • Redis is used as the PHP Session and Craft data caching method
  • 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

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

Using nystudio107/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:, (*23)

composer create-project nystudio107/craft PATH

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

composer create-project nystudio107/craft craft3

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

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

./nys-setup

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

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

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

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

....., (*31)

About Craft CMS

Craft is a content-first CMS that aims to make life enjoyable for developers and content managers alike. It is optimized for bespoke web and application development, offering developers a clean slate to build out exactly what they want, rather than wrestling with a theme., (*32)

Learn more about Craft at craftcms.com., (*33)

How to Install Craft 3 Beta

Installation instructions can be found in the Craft 3 documentation., (*34)

Resources

Official Resources

Community Resources

The Versions

04/07 2018

dev-master

9999999-dev https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

13/06 2018

dev-develop

dev-develop https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

12/04 2018

dev-release/1.0.20

dev-release/1.0.20 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

15/02 2018

dev-hotfix/1.0.19

dev-hotfix/1.0.19 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

13/02 2018

dev-hotfix/1.0.18

dev-hotfix/1.0.18 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

13/02 2018

1.0.17

1.0.17.0 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

13/02 2018

1.0.15

1.0.15.0 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

18/01 2018

1.0.12

1.0.12.0 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

18/01 2018

1.0.10

1.0.10.0 https://craftcms.com/

pennebaker Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

06/01 2018

1.0.9

1.0.9.0 https://craftcms.com/

nystudio107 Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

17/12 2017

1.0.7

1.0.7.0 https://craftcms.com/

nystudio107 Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

16/12 2017

1.0.6

1.0.6.0 https://craftcms.com/

nystudio107 Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

06/12 2017

1.0.4

1.0.4.0 https://craftcms.com/

nystudio107 Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

05/12 2017

1.0.3

1.0.3.0 https://craftcms.com/

nystudio107 Craft 3 CMS scaffolding project

  Sources   Download

MIT

The Requires

 

cms project craftcms craft

05/12 2017
01/12 2017