This repository is designed to be used with SilverStripe development environments. It contains packages and functionality commonly used when developing with SilverStripe.
- Brett Tasker [email protected]
composer create-project brettt89/silverstripe-docker ./my/website/folder
./my/website/folder
should be the root directory where your codebase and configuration
files will live.
- Apache Webserver
- MySQL Database
- Composer
- SSPAK
These commands should be run from within the project folder created during Installation.
E.g. ./my/website/folder
git clone <repo> public
NOTE: It is important that the website codebase exists in the public/
directory
docker-compose run composer install
NOTE: Copy your sspak into the snapshots/
directory
docker-compose run sspak load snapshots/<sspak> public
docker-compose up -d web
The asset builder uses gulp to watch the swift directory for any changes and rebuilds as necessary
The site will then be available at http://localhost/.