A custom installer for a SilverStripe based project, includes commonly used files and settings.
This installer requires you have the following:
- Composer
- NPM/nodeJS
- Use composer to quickly create a new project:
composer create-project plato-creative/plato-silverstripe-installer . @dev
- Install node modules via npm:
npm install
- Compile SCSS & Javascript
npm run prod
There are 3 default commands you can run:
2. npm run watch
- this will compile like above but keep watching for changes.
3. npm run prod
- this will compile all files with compression and all sorts or other goodies. And exclude and logs.
To run PHPUnit and tests use:
vendor/bin/phpunit
Edit phpunit.xml to change default configuration.