- 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.
Running the tests:
Running only the unit tests or the functional tests
./bin/phpunit --testsuite=functional ./bin/phpunit --testsuite=unit
Styling the backend
The backend uses Bootstrap in combination with Sass. To make changes, you can either apply your styles in /src/Backend/Core/Layout/Css/screen.css or use Sass.
To use Sass, you first need to install it on your system, more info can be found here: http://sass-lang.com/install. If you use the command line, you can run the following command in your document root:
sass --watch src/Backend/Core/Layout/Sass:src/Backend/Core/Layout/Css --style compressed
The Fork CMS team