Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Setting up a project

Koen edited this page Sep 12, 2019 · 3 revisions

To start a new project, run:

$ composer create-project grrr-amsterdam/wordpress-scaffold <project-name>

This will create a new project in the chosen directory. After the project is created by Composer, an interactive shell will be initiated. This interactive setup will prompt you with some questions, and will concurrently run the some tasks:

Tasks

  • Install Composer dependencies
  • Create and prefill a .env file (essentials only)
  • Create a database (if a database server is available and credentials are correct)
  • Install WordPress
  • Install plugins & other dependencies
  • Rename the theme folder
  • Prefill the style.css theme file
  • Install Node.js packages
  • Run yarn build to generate the theme assets
  • Activate the theme
  • Activate default plugins
  • Set some WordPress settings (like permalink structure, timezone, disabling comments)