Check out whyjustrun.ca for more information about this project.
The Clubsite depends on WhyJustRun Core, so first run it.
After Core is running, to start the Clubsite:
1) Use the default configuration: cp .env.clubsite{.sample,}
2) Start the containers: docker compose up --build
You should be up and running. Head to localhost:3001.
To start the CakePHP console, run docker compose exec clubsite /application/app/Console/cake -app /application/app
For production use, set WJR_CLUBSITE_ENV=production
In production mode, the app uses minified assets. In order to build them, run docker compose exec clubsite /application/app/Console/minify.sh
We use Redactor as a rich text editor. However the source code can't be bundled with the project due to licensing restrictions. To test rich text editing related functionality, place redactor.min.js
and redactor.css
inside src/app/webroot/js/redactor
.