Includes a collection of useful modules, a starter theme, and the silverstripe recipe-cms
Silverstripe 4. See 3.0 branch for silverstripe 3 support.
NOTE: assumes you have node setup and gulp installed globally. If not, you should go do those things first
To start a project with this recipe use a terminal to run (replace your-project
with your project's name):
composer create-project dnadesign/basic-recipe ./your-project dev-master
cd your-project
make setup
This will:
- Copy a draft
.env
file in for you (you'll need to update this) - Install the frontend dependencies & create the built theme in
theme-default/dist
- Run
composer install
(because this task doubles as a quick setup for future devs on your project) - Run
composer vendor-expose
to symlink assets intopublic
- Run a
dev/build ?flush
To add this recipe to an existing project:
(optional) composer require dnadesign/basic-recipe ./your-project dev-master
To move the cms recipe dependencies to your own composer file in order to modify them:
(optional) composer update-recipe silverstripe/recipe-cms
More information about recipes and how to work with them is available here: https://github.com/silverstripe/recipe-plugin
See the themes README file for more specific documentation