A custom installer for a SilverStripe based project, includes commonly used files and settings.
This installer requires you have the following:
- Composer
- Bower
- Compass
- Bundle
Use composer to quickly create a new project:
composer create-project plato-creative/plato-silverstripe-installer . @dev
When composer install
is executed composer loads the PlatoCreative installer class and works through it's logic.
It firstly asks the user for some site settings e.g. theme name and database name.
It then asks if you are building a custom website or want to base it from a pre-build theme and modules. If you choose to use the base then you will get some basic styles and layout and a few pre-built modules. If you choose custom then you will get a fresh foundation install and limited setup.
The base theme adds the following plato modules:
To run PHPUnit and tests use:
vendor/bin/phpunit
Edit phpunit.xml to change default configuration.