This module adds functionality to create and manage a portfolio (page) that includes many cases.
You can also link customers/categories to cases and create a collection with different cases.
- See
composer.json
requirements
composer require wedevelopnl/silverstripe-portfolio
Managing and linking customers can be disabled using the following config in your project
---
Name: flags
After: portfolio
---
WeDevelop\Portfolio\Config:
customer_enabled: false
See License
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. See read our contributing document for more information.
We advise to use Docker/Docker compose for development.
We also included a Makefile to simplify some commands
Our development container contains some built-in tools like PHPCSFixer
and yarn
.
make build
to build the Docker container and then run detached.
If you want to only get the container up, you can simply type make up
.
You can SSH into the container using make sh
.
Webpack and yarn are used to compile front-end assets.
If you use the Docker environment, you can just run make yarn-watch
to watch for changes or run make yarn-build
to build assets (minified and production ready!)
You can run make help
to get a list with all available make
commands.