- Make sure your have composer installed.
composer create-project forkcms/forkcms .in your document root.
- Browse to your website
- Follow the steps on-screen
- Have fun!
To install the dependencies, you can run the command below in the document-root:
composer install -o
Running the tests
We use phpunit as a test framework. It's installed when using composer install. To be able to run them, make sure you have a database with the same credentials as your normal database and with the name suffixed with _test.
Because we support multiple php versions it gave some issues. Therefore we use the bridge from symfony.
Running the tests:
Running only the unit tests or the functional tests
./bin/simple-phpunit --testsuite=functional ./bin/simple-phpunit --testsuite=unit
Styling the backend
The backend uses Bootstrap in combination with Sass. To make changes, you should make
the changes into the scss-files, and regenerate the real css with
We use yarn to install our dependencies. For now we have a
gulp-script that moves everything to
the correct directories. So if you change the dependencies, make sure you run
The Fork CMS team